Hello,
I have a MVC Razor Hierarchical Grid using ClientDetailTemplates for the Child Grids. I have the DetailExpand event configured on the top level grid. Everything works fine the first time that a Row is expanded, ie the row expands and then the DetailExpand event fires. However if I collapse that row and then expand it a second or more times, the DetailExpand event fires first and the row will not expand until the event is finished. This essentially makes it a DetailInit event.
I am stuck here because everything works fine the first time. My guess is that the ClientDetailTemplates are built the first time and everything is processed in proper order, after that, the templates already exist so Kendo UI decides that it will fire the event first and then expand? Has anyone found an easy way around this?..
If there is an example anywhere of a Razor Hierarchical grid with Child Tempates and the DetailExpand event?
Thanks in advance.
I have a MVC Razor Hierarchical Grid using ClientDetailTemplates for the Child Grids. I have the DetailExpand event configured on the top level grid. Everything works fine the first time that a Row is expanded, ie the row expands and then the DetailExpand event fires. However if I collapse that row and then expand it a second or more times, the DetailExpand event fires first and the row will not expand until the event is finished. This essentially makes it a DetailInit event.
I am stuck here because everything works fine the first time. My guess is that the ClientDetailTemplates are built the first time and everything is processed in proper order, after that, the templates already exist so Kendo UI decides that it will fire the event first and then expand? Has anyone found an easy way around this?..
If there is an example anywhere of a Razor Hierarchical grid with Child Tempates and the DetailExpand event?
Thanks in advance.