This is a migrated thread and some comments may be shown as answers.

Placing first row of grid in edit mode on DataBound causes jscript error onblur

1 Answer 96 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Troy
Top achievements
Rank 1
Troy asked on 21 May 2012, 02:46 PM
I am placing the first row of my datagrid into Edit Mode using grid.editRow(). Everything renders fine, but when I click outside of the grid, I get a jscript error in the kendo.all.min.js at method: _cellTempl() because the first parameter is undefined.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 May 2012, 04:47 PM
Hello Troy,

 This will occur if you are calling the editRow method but your grid is in "incell" edit mode. We will try to fix this for the next official release.

 As a workaround you can use the editCell method or change the editing mode of your grid to "inline":
  editable: "inline"

All the best,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Troy
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or