Hello,
I am using smartgwt-mobile-1.0d_2013-05-22 version and I noticed that there is a limit regarding size of record.
As you can see in below code, I tried to create 500 records in TableView but it only showed me 25 records.
Would you please remove this limit from SmartGWT.mobile?
Thanks in advance.
I am using smartgwt-mobile-1.0d_2013-05-22 version and I noticed that there is a limit regarding size of record.
As you can see in below code, I tried to create 500 records in TableView but it only showed me 25 records.
Would you please remove this limit from SmartGWT.mobile?
Thanks in advance.
Code:
public class SimpleTables extends ScrollablePanel {
public SimpleTables(String title) {
super(title);
this.setWidth("100%");
TableView tableView = new TableView();
RecordList recordList = new RecordList();
for (int i = 0; i < 500; i++) {
final int index = i;
@SuppressWarnings("serial")
Record record = new Record() {
{
setAttribute("_id", new Integer(index).toString());
setAttribute("title", new Integer(index).toString());
}
};
recordList.add(i, record);
}
tableView.setTitleField("title");
tableView.setShowNavigation(false);
tableView.setTableMode(TableMode.PLAIN);
tableView.setData(recordList);
addMember(tableView);
}
}