On Sun, Jun 5, 2011 at 04:41, Jamies <[email protected]> wrote:
> same problem here
>
> i won't bother to create another Map object, instead, I @override the
> toString() function for TextColumn class. By calling
> cellTable.getColumnSortList().get(0).getColumn().toString(); and i can
> get back the pre-defined string.
>
> hope gwt group can enhance the Cell Table in the future.

On the contrary, I quite like the GWT team to not make that
"enhancement" and leave it to the developers, the reason being: not
all the developers need their grids to be column sortable, and if we
were to maintain such a Map across the board, those who don't need
column sorting will be penalized both in terms of code size/complexity
and performance, and it's a price not all people are willing to pay.

-- Joe

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

Reply via email to