PDA

View Full Version : EditableGrid



CLink
27 Oct 2008, 5:33 AM
Hi, i am very new at Ext Gwt.
can someone give me an example how an model class must be designed for an editable grid please

in the example it is the stock and testdata class, how does such a class looks like ??? :-?


import com.extjs.gxt.samples.resources.client.model.Stock;
import com.extjs.gxt.samples.resources.client.TestData;

ListStore<Stock> store = new ListStore<Stock>(); </SPAN>
store.add(TestData.getStocks());i need this data to fill the ListStore but i don't know the content of the stock and testdata class.

please help

gslender
27 Oct 2008, 12:55 PM
in the download, look in the following directory... all the classes are there

samples\resources\src\com\extjs\gxt\samples\resources\client

CLink
27 Oct 2008, 10:33 PM
Thx for your help :)