Hello, Telerik, I have a question to you regarding the hierarchical RadGrids.
I'm using a hierarchical RadGrid (Telerik control) but there
are some bugs regarding the sort of the second level. I have two levels
and the second level is loaded based on the first level.
Columns of the first level: Foo1, Foo2, Foo3
Columns of the second level: Bar1, Foo2, Bar2, Bar3
Binding is issued through a function.
Problems:
-
If a single row of the first level is expanded (we can see a single sub-grid from the second level) and I want to sort by Bar1, the sort happens, but an error occures:
Uncaught TypeError: Cannot call method 'sort' of null
-
If a single row of the first level is expanded (we can see a single sub-grid from the second level) and I want to sort the second level by Foo2, the sort happens for the parent grid's (!) Foo2 column
-
If two rows of the first level are expanded (we can see two sub-grids from the second level) and I want to sort both the subgrids by the same column a strange rectangle appears instead of the ascending/descending sign, I get the same error as described in the first problem but the sorting is not issued.
I would like to get rid of these problems, my question is the following:
If we have a hierarchical RadGrid and both the first and the second level is sortable how can I implement a sort of the second level to be free of bugs?
Thank you in advance for your responses.