Re: Order in new CellTable

2010-06-23 Thread bond
Thanks very much Jaroslav!! best regards Daniele On 20 Giu, 19:48, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: The reason why I proposed adding single event-handler on whole table was due to performance concerns. I read somewhere in GWT-docs that large number of event-handlers might

Re: Order in new CellTable

2010-06-20 Thread bond
Hi Jaroslav, thanks for your reply.The google's source code is very usefull. It's possible add an 'onMouseOver' event on a single cell? Thanks very much Best regards On 17 Giu, 15:56, Jim jim.p...@gmail.com wrote: I got all source code from this repository and created a project - bikeshed21.

Re: Order in new CellTable

2010-06-20 Thread Jaroslav Záruba
I would consider adding one listener on the whole table and then check whether the target is your (one of) your cell(s). But I'm not saying this is The One Proper solution, I'm still only learning to use CellTables. On Sun, Jun 20, 2010 at 4:24 PM, bond daniele.re...@gmail.com wrote: Hi

Re: Order in new CellTable

2010-06-20 Thread bond
Thanks for your reply. I had an idea, maybe can be usefull: private abstract class MouseOverCell extends AbstractCellString { @Override public void render(String value, Object viewData, StringBuilder sb) { if (value != null) {

Re: Order in new CellTable

2010-06-20 Thread Jaroslav Záruba
The reason why I proposed adding single event-handler on whole table was due to performance concerns. I read somewhere in GWT-docs that large number of event-handlers might affect responsiveness of your UI. (My UIs are too simple so far to test when that becomes an issue though.) Cheers J.

Order in new CellTable

2010-06-17 Thread bond
Hi, I'm using the new GWT2.1M1. I'm testing CellTable and it seems very beautiful. I've 2 questions: -how I can order the data display clicking on the column header? -how I can add an onMouseOver event on a single cell? Thanks very much Best regards -- You received this message because you

Re: Order in new CellTable

2010-06-17 Thread Jaroslav Záruba
The Expenses demo-app uses ordering columns: http://gwt-bikeshed.appspot.com/Expenses.html (see report details) source: http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/ On Thu, Jun 17, 2010 at 2:06 PM, bond daniele.re...@gmail.com

Re: Order in new CellTable

2010-06-17 Thread Jim
I got all source code from this repository and created a project - bikeshed21. I fixed some minor issues because Parser and Render classes are duplicated in two packages. Now I got a clean Eclipse project without any syntax errors. But I can not run it because there are DataNucleus-enhance