On 1/4/07, wavydavy <[EMAIL PROTECTED]> wrote:

On Jan 4, 8:03 pm, "Jim Steil" <[EMAIL PROTECTED]> wrote:
[snip]
> Is there a way for me to ask the DataGrid to make the columns sortable by
> clicking on the heading?  I apologize if this doesn't make any sense, I
> really don't know how to describe it any better.

DataGrid doesn't support sorting by default. You would need to extend
it with some javascript to do so. Check out

What about the DataGrid.Column sortable option? works for me.

...
w.DataGrid.Column("name", options=dict(sortable=True)),
...

-- Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to