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
140
grid.AllowAddNew reflect null reference in wedatagrid
posted

when ever check checkbox that data I want bind to another grid, have code in ultrawebgrid but I need to implement same functionality in webdatagrid.

 check bellow ultrawebdatagrid code.please give me correct solution

 

 var currentSettings = grid.AllowAddNew;  //here I need webdatagrid

          

            grid.AllowAddNew = 1;

            try {

                // var newRow = igtbl_addNew(grid, 0, true, false);

                var newRow = grid;

                var newRowIndex = "ctl00xCPSContentHolderxSelectedHospitalList_r_";

                newRow.getCell(O).setValue(labelHospitalName);

                newRow.getCell(1).setValue(labelCity + ", " + labelState);

                newRow.getCell(2).setValue(labelCountry);

 }