This question is locked. New answers and comments are not allowed.
Hi,
I'm using a Telerik grid (big surprise) that is configured for ajax binding and I am attempting to put a row into edit mode programmatically via javascript. However, as the thread title suggests, I keep getting an error in firebug that says "grid.editRow is not a function". I've also had similar errors when attempting to use some of the other client methods specified in the grid documentation.
Here is the relevant code
Am I missing something obvious?
Telerik version: 2011.1.315.235
Any help would be greatly appreciated.
Thanks.
I'm using a Telerik grid (big surprise) that is configured for ajax binding and I am attempting to put a row into edit mode programmatically via javascript. However, as the thread title suggests, I keep getting an error in firebug that says "grid.editRow is not a function". I've also had similar errors when attempting to use some of the other client methods specified in the grid documentation.
Here is the relevant code
if (ancestor.LocationType == 0) { // Note: ancestor is a json object passed back from an action method // and row is supplied to the function in which this conditional appears. var grid = $("#all-locations").data("tGrid"); grid.editRow(row);}Am I missing something obvious?
Telerik version: 2011.1.315.235
Any help would be greatly appreciated.
Thanks.