when you click save button, how to save only new checked check boxes values in the database instead of previously checked check boxes values ??
Here am using the dynamic array of data. Can you Please help me for this ? (processing time is taking more and all requests are going again and again)
Reference :
(List of Checkbox values)
first time page load values.
Previously checkbox values in the grid: 1=Checked ; 0=unchecked
- 1
- 1
- 0
- 0
- 0
for saving ( how to send post request for new checked values not previously checked values)
- 1
- 1
- 1 ----> only this need to save
- 1 ----> only this need to save
- 0
function fnSave()
{
var rowId = grid.getSelectedRowId();
var data = new Array();
var viewModel = {};
grid.filterBy(0, “”);
var checked = grid.getCheckedRows(0);
if (checked != “”)
data = checked.split(",");
}