Friday, April 19, 2013

Re: CellTable - How to disable sorting only for the footer?

Override the footer onPreviewColumnSortEvent(Context, Element, NativeEvent) method and return false.

On Sunday, February 17, 2013 5:00:04 PM UTC-3, membersound wrote:
Hi,

I have a CellTable with sortable columns. I want to use the footer to display some controls for the table. Therefore I provide the controls when I add the Columns to the CellTable.

BUT if I click the footer elements, they not only execute my action, but also the sort event.
How can I prevent this only for the footer? The header should still provide sorting.

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment