Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 6th Dec 2010, 12:36
anachoret anachoret is offline
Registered Developer
 
Join Date: Nov 2010
Posts: 3
Default How to intercept the ListGrid header's click

Hello,

I have implemented the widget based on ListGrid that takes page by page the data from the datasource (transformRequest & transformResponse are involved in parameters parsing). What I have found is the sorting works only for the "client side" data set. I mean when I have pretty short set of the data that fits the ListGrid the sorting works fine inside the grid. In case the data set is big enough and ListGrid decides to make the call to data source there is no any parameters according to sorting of the columns.

I found that I can set a such parameter via setting the Criteria for the ListGrid and can get the current sorting settings via grid.getSort().

The question is how can I intercept the right button click event on ListGrid header which opens the context menu and to catch the click on the sorting items.

Thanks.

SmartGWT 2.2
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved