What am I doing wrong here, I click the test button which fires an updateCaches operationType: "add" but no record appears in the listgrid?
SmartClient Version: v8.2_2012-04-08/LGPL Development Only
Code:
var ds = isc.DataSource.create({
fields: [ { name: "ID", title: "ID" } ]
});
var grid = isc.ListGrid.create({
dataSource: ds
});
isc.Button.create({
title: "add",
top: 200,
click: function () {
grid.dataSource.updateCaches({ operationType: 'add', data: {ID: "xxx"} });
}
});
SmartClient Version: v8.2_2012-04-08/LGPL Development Only
Comment