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

get current mode of grid

2 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 25 Jan 2013, 03:18 PM
Is there a way to get the current mode of the grid inside a column template? I want to check if the grid is in edit mode within a column template so I can act on it. 

2 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 29 Jan 2013, 10:51 AM
Hi Dan,

The current mode of the grid could be get in a template, but at the time the template is rendered, the grid is always in display mode, so the result will always be the same. Could you explain what are you trying to achieve, so I will be able to assist you further?

All the best,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dan
Top achievements
Rank 1
answered on 30 Jan 2013, 09:49 PM
Thank you for the response. We changed the way we were doing it and satisfied the requirement. 
Tags
Grid
Asked by
Dan
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Dan
Top achievements
Rank 1
Share this question
or