Re: Unable to suppress header sorting in DataGrid using GWT 2.4

2011-10-13 Thread Adam
Found this in the trunk:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/cellview/client/HeaderCreator.java?r=10581

Line 37: // TODO(jlabanca): Add API to handle events in the header.

Any idea when this will be added and if the sorting behavior will be
changed?

On Oct 12, 4:31 pm, Adam asnyde...@gmail.com wrote:
 I am trying to add a button to a DataGrid header by extending Header
 and I've been able to do that and detect the click event just fine.
 My problem is that the underlying AbstractCellTable code is firing
 ColumnSortEvents for every click in the header and there is no simple
 way to stop that behavior outside of not making that column sortable
 or completely overriding AbstractCellTable#onBrowserEvent2, neither of
 which I want to do.  Has anyone else ran into this issue?

 Thanks,

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



Unable to suppress header sorting in DataGrid using GWT 2.4

2011-10-12 Thread Adam
I am trying to add a button to a DataGrid header by extending Header
and I've been able to do that and detect the click event just fine.
My problem is that the underlying AbstractCellTable code is firing
ColumnSortEvents for every click in the header and there is no simple
way to stop that behavior outside of not making that column sortable
or completely overriding AbstractCellTable#onBrowserEvent2, neither of
which I want to do.  Has anyone else ran into this issue?

Thanks,

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