Hi,
We need to store cell value into array depend on checkbox is checked or not on button click. So how to know which checkbox is checked or not.
Note :- current we are using
checkBoxStateChanging: function(evt, ui){
var rowIndex = parseInt(ui.rowKey);
var jsonArray = new Array();
var name = $("#grid1").igGrid("cellAt",1,rowIndex);
var jsonObj = {}; jsonObj.name = $(name).text(); jsonArray.push(jsonObj);
}
But we need to store value on button click.
Thanks
Shailesh kashyap
Hello, i am waiting for reply.
Hi, Pete Davis
Thank you for reply.
I have a multiple number of checkbox, so how do we identify how many checkbox have been checked (Maybe multiple)or not,so we need to iterate the all checkbox.
and after that we will save checked cell value into javascript array.
Thanks and regards
If I'm understanding correctly, can you just iterate through all the rows and call:
var isChecked = $("#grid1").igGrid("getCellValue", rowIndex, "ColumnKey");
Still Waiting for reply.