users@woodstock.java.net

RE: RE: Sorting Woodstock Table

From: Vijaya Bhaskar Tsaliki <vijayabhaskar.t_at_sonata-software.com>
Date: Fri, 24 Oct 2008 14:32:52 +0530

Thanks Mark. Really cool. Its working...

By the way how to disable "Show Data in Single Page" button on the
table. I do not want my users to look all rows in single page.

Regards,
Vijay


-----Original Message-----
From: Mark Smits [mailto:mark_at_exmachina.nl]
Sent: Friday, October 24, 2008 1:14 PM
To: users_at_woodstock.dev.java.net
Subject: RE: Sorting Woodstock Table

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
For additional commands, e-mail: users-help_at_woodstock.dev.java.net