Re: Design Decision RPC with AsyncDataProvider

2013-06-18 Thread Jochen Schnaidt
Hi, I now started to give my columns DataStoreNames, works much better for a couple of requirements. Thank you so much for helping me on this topic. Best regards Jochen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe

Re: Design Decision RPC with AsyncDataProvider

2013-06-16 Thread Sam Radford
This might help you, this is how I do it, using Jens' suggestion with setDataStoreName() on the columns. This example is for sorting invoices, although I do the sorting client side to reduce server requests ArrayListInvoice dataInRange =

Design Decision RPC with AsyncDataProvider

2013-06-14 Thread Jochen Schnaidt
Hi all, I need an advice about a design question of my application. I am searching for a best practise for the following setup. Project is about an application for maintaining huge amounts of data from a database. Therefore I implemented a ui with UIBinder and a CellTable, data is

Re: Design Decision RPC with AsyncDataProvider

2013-06-14 Thread Jens
You can set a string identifier to your columns by using Column.setDataStoreName(). The easiest identifier would be the raw database column name. Then you can go through the ColumnSortList of your CellTable, read the database column name and sort order of each sorted column and pass this