HI,
I have added a new item to the dataitems array on client side but on postback I don't see it in the items collection.
Any ideas how I can get this working?
I have added a new item to the dataitems array on client side but on postback I don't see it in the items collection.
Any ideas how I can get this working?
function RebindGrid() {
var grid = $find(gsGridId);
var masterTableView = grid.get_masterTableView();
var dataItems = masterTableView.get_dataItems();
var item = dataItems[4];
Array.add(dataItems, item);
masterTableView.set_dataSource(dataItems);
masterTableView.dataBind();
}