Hi,
Calling startEditingRow on an empty ListGrid makes ListGrid populate with full dataSource content by calling fetchData without any filter.
I think that it is a problem with initializing ListGrid.data.
expected result: new row with editors added to ListGrid
current result: new row with editors added to ListGrid and filling ListGrid with unfiltered dataSource contents
Best regards,
Janusz
Calling startEditingRow on an empty ListGrid makes ListGrid populate with full dataSource content by calling fetchData without any filter.
I think that it is a problem with initializing ListGrid.data.
Code:
lg = ListGrid.create({ dataSource: myDataSource }); var b = Button.create({ click: "lg.startEditingNew()" }); lg.show(); b.show();
current result: new row with editors added to ListGrid and filling ListGrid with unfiltered dataSource contents
Best regards,
Janusz
Comment