DataTable sorted on several columns ?
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
DataTable sorted on several columns ?  XML
Forum Index -> Portals & Portlets
Author Message
loic.salou


Joined: 03/10/2008 00:00:00
Messages: 83
Offline


Hello,

I'd like to be able to sort my datatables on more than one column, I don't think the ice:DataTable allows this natively, has anyone tried to implement such functionality ?

The problem seems to be able to detect, when the user clicks on a column, something else indicating that he wishes to sort elements, ALSO on this column.

Using frameworks such as jquery this is usually accomplished pressing "shift" and clicking at the same time on the new sort column... I think there must be some javascript snipet to be able to do this.

Thanks
lightguard


Joined: 11/05/2007 00:00:00
Messages: 165
Offline


AFAIK, events do not include modifier keys like that :( I've thought about doing something like this in the past and the I could think of is multiple boxes or lists or something like that to say your sort order. I haven't thought of any better way to do this :(
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team