I have a grid with template columns.I am trying to add new rows using the following client side code.
var
tableView = $find("<%= MedicationGrid.ClientID %>").get_masterTableView();
tableView.set_dataSource(result);
tableView.dataBind();
var grid = $find("<%= MedicationGrid.ClientID %>");
grid.repaint();
When I am debugging, I am able to see the newly added record in the result object, But it is not displaying the newly added row in the grid.In place it is displaying a blank row.When I am clicking on edit button on any of the gridrow it is displaying the record in the grid as I have stored the data in the session.
Am I doing anything wrong ?
Regards,
Arabinda