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

Why headers are selectable?

5 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shlomo
Top achievements
Rank 1
Shlomo asked on 22 Feb 2016, 02:04 PM

I am defining grid, with "inCell" mode. And I have a problem that the headers are selectable/focusable. Can any one tell me what makes the column headers selectable if I did not define "selectable: true", and why do the column header id changes to the grid's id  + "_active_cell" when it is selected.

This behavior exists in the following demo: http://dojo.telerik.com/IQIQu

I noticed that the property "navigatable: true" may be the cause to this behavior behavior but i think there is another property that affects that behavior,
because in the following example: ( http://jsfiddle.net/Eh8GL/ ) the property "navigatable" is set to "true" but the column headers are not selectable.

thanks!

 

 

5 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 22 Feb 2016, 04:54 PM
Hello Shlomo,

You need to turn off the navigatable option if you want to prevent this behavior.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shlomo
Top achievements
Rank 1
answered on 23 Feb 2016, 08:01 AM

Hi Kiril,

Actually, in the following example : http://jsfiddle.net/Eh8GL/ the "navigatable" property is set to true but the column headers are not selectable. Besides, I need the navigatable option, so how can I avoid this behaior without setting the navigatable property to false?
It seems it caused by more than one property definition.

thanks.

0
Kiril Nikolov
Telerik team
answered on 24 Feb 2016, 07:47 AM
Hello Shlomo,

The version in the jsFiddle is 4 years old and a lot of things changes since then. There is navigate event that you can use to navigate to a certain cell when the headers are clicked, please see this sample:

http://dojo.telerik.com/eFOCA

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shlomo
Top achievements
Rank 1
answered on 28 Feb 2016, 01:24 PM

Hi,

Is there a reason for the id's change, I mean, is it neccesary for your support that the active cell id gets changed?
or is it a bug in Kendo?

thanks.

0
Kiril Nikolov
Telerik team
answered on 01 Mar 2016, 08:52 AM
Hello Shlomo,

I am not sure that I understand your question - can you please elaborate?

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
Shlomo
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Shlomo
Top achievements
Rank 1
Share this question
or