Please help.
Short scenario:
I select 5 records/rows in a grid, set the value, in 1 of their column, to 'Not Steuart'.
So 5 rows got changed in grid.
When I use button on the toolbar, toolbarSave: true, nothing happens,
What do I need to use to save changed rows, back to .json file ?
Do I need to code it in 'onSubmit' ?
Data is read from file: 'url: 'data/DataFromCsv11.json'.
My code below.
Thank you very much,
Waldemar
==========================================================
var mySelection;
function setSelectedRecords() {
mySelection = w2ui.grid.getSelection();
//w2alert(mySelection.length);
for (var i = 0; i < mySelection.length; i++) {
w2ui['grid'].set(mySelection[i], {changes:{REVIEWER:'Not Steuart'}
});
}
};