On 02/20/2012 03:49 AM, Emmanouil Batsis (Manos) wrote:
On 02/19/2012 10:56 PM, Jorge Rodrigez wrote:
You just need to add/remove an item to your data source.
Next time you rerender the grid it will show/hide the added/removed
Any custom datasource examples out there? Essentially I'd like to bind
the grid to a POJO collection member.
That was easy:
final ListDataProvider listDataProvider = new
ListDataProvider(pojo.getChildren());
final DataGrid grid = new DefaultDataGrid("foo", new
DataProviderAdapter(listDataProvider), cols);
Manos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]