Hi
I am need to add a new row and then setup some default values while using batch edit. The code below causes problems once it has executed. It executes fine but seems to not save the values properly. Could someone verify if I am setting the column data properly with the last two lines?
Many thanks,
Jon
I am need to add a new row and then setup some default values while using batch edit. The code below causes problems once it has executed. It executes fine but seems to not save the values properly. Could someone verify if I am setting the column data properly with the last two lines?
Many thanks,
Jon
var uxRadGrid = $find("<%=uxRadGrid.ClientID%>"); var uxRadGrid_MasterTable = uxRadGrid.get_masterTableView(); var uxRadGrid_batchEditingManager = uxRadGrid.get_batchEditingManager(); uxRadGrid_batchEditingManager.addNewRecord(uxRadGrid_MasterTable); var uxRadGrid_MasterTable_row = uxRadGrid_MasterTable.get_dataItems()[0];// uxRadGrid_MasterTable_row.get_cell("BudgetValue").innerText = '£0.00'; //uxRadGrid_MasterTable_row.get_cell("BudgetDetailId").innerText = ' '; uxRadGrid_MasterTable_row.get_cell("CategoryId").innerText = idValue; uxRadGrid_MasterTable_row.get_cell("Category").innerText = textValue;