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

current not set when calling editCell/addRow

2 Answers 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Wayne Hiller asked on 02 Jun 2015, 07:58 PM

Version 2015.1.521

When calling editCell or addRow on a grid I noticed that after the call current() is returning undefined. Shouldn't it return the currently focused cell?

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 04 Jun 2015, 11:47 AM

Hello Wayne,

I'm afraid not. The current will be set on user interaction and not when cell is put in edit mode via the API.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
answered on 04 Jun 2015, 01:15 PM
Strange I thought it was being set before the last update. Anyway the edit event fires so I use that to set current.
Tags
Grid
Asked by
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Answers by
Rosen
Telerik team
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Share this question
or