v8.3p_2013-02-08/LGPL Development Only (built 2013-02-08)
I use listGrid.setData(dataModel); with dataModel = new RecordList();
I also populate dataModel with data using Record record = dataModel.get(index); and record.setAttribute(...).
In this case the listGrid does not behave as I expect when I use ListGridField.setAutoFitWidth(true).
Does anybody know how can I make my listGrid automatically fit the columns widths according to the data?
Thanks in advance.
I use listGrid.setData(dataModel); with dataModel = new RecordList();
I also populate dataModel with data using Record record = dataModel.get(index); and record.setAttribute(...).
In this case the listGrid does not behave as I expect when I use ListGridField.setAutoFitWidth(true).
Does anybody know how can I make my listGrid automatically fit the columns widths according to the data?
Thanks in advance.
Comment