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

Is "_active_cell" officially supported?

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 09 Dec 2015, 08:00 PM

I found (probably on stackoverflow) that when a user selects a cell, Kendo temporarily assigns a value to the corresponding td element's id. The value of the temporary id ends with "_active_cell". I have code that relies on this being set, and it has worked on many combinations of operating systems and browsers. However, we found that the selected cell's id is not being set on at least one computer with Windows 8 using Chrome.

I have found a reasonable workaround, but I was wondering if I should be able to rely on Kendo setting the id of the selected cell. If so, this may be a bug.

Thanks!

Craig

1 Answer, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 11 Dec 2015, 08:01 AM

Hello Craig,

 

When cell selection of the Kendo UI Grid is enabled, the cell is marked with the following id:

 

cellSelection_active_cell

 

and a CSS class:

 

k-state-selected.

 

This behavior was not changed in the recent releases, so you should be able to use it.

 

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