Hello, all!
I was wondering if there is a better way of data binding for grids in GXT v3.0? Like it is for fields:
Code:
textfield.setName("fieldName");
This way it is possible to generate input form. For grid one have to write lots of boilerplate code like this:
Code:
ColumnConfig<Stock, String> nameCol = new ColumnConfig<Stock, String>(props.name(), 200, "Company");
ColumnConfig<Stock, String> symbolCol = new ColumnConfig<Stock, String>(props.symbol(), 100, "Symbol");
ColumnConfig<Stock, Double> lastCol = new ColumnConfig<Stock, Double>(props.last(), 75, "Last");
Is there a way one could generate it automatically?