Hi Vijay,
When you click on the table header the sourceData dir will be called again. So in there you can check if sorting order is changed and do a other query if you like.
getTableRowGroup().getTableDataSorter().getSortCriteria()
Success!
Mark
________________________________________
Van: Vijaya Bhaskar Tsaliki [vijayabhaskar.t_at_sonata-software.com]
Verzonden: vrijdag 24 oktober 2008 7:50
Aan: users_at_woodstock.dev.java.net
Onderwerp: RE: Sorting Woodstock Table
Hi,
Is there any way to invoke a method in Back Bean or Session Bean when
the table column header is clicked?.
I need this to sort data on my own. Any inputs on this is highly
appreciated.
Regards,
Vijay
-----Original Message-----
From: Vijaya Bhaskar Tsaliki
Sent: Thursday, October 23, 2008 3:19 PM
To: 'users_at_woodstock.dev.java.net'
Subject: Sorting Woodstock Table
Hi
I would like to execute SQL query when a column header is clicked on
Woodstock table, to sort data at backend. I do not want the default
sorting provided by table.
How do I do this?. I should be able to listen header click either on
backing bean or somewhere else.
Thanks is advance...
Regards,
Vijay
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
For additional commands, e-mail: users-help_at_woodstock.dev.java.net