What is the Editable Data Model?
EditableGridDataModel is a widely used implementation. It was developed especially for the EditableGrid. Sample below shows how you can instantiate it. //create a new grid EditableGrid grid = new EditableGrid( new String[]{“First Name”,”Surname”}, new Class[]{LabelCell.class, LabelCell.class} ); The sample illustrates how put data in the model. Note that “data” in this context means a two-dimension array of abstract objects. In common case Objects can be not only strings but numbers, dates and even other GWT widgets. And it’s a reason data models are not serializable. This sample constructs a model that doesn’t allow lazy loading of data with AJAX. You can change the data programmatically but you still have to worry about view and model synchronization in this case.