Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
how to know whether checkbox is checked or not when i pressed submit button.
posted

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