I've found what seems to be a bug when combining a rowTemplate , columnMenu: true and sortable: true.
In the demo below, hide the Country column and then sort by the ID column. After the sort, some of the cells are not staying hidden! Am I doing something wrong?
http://trykendoui.telerik.com/@esorenson/UsOp
I'd appreciate any help!
In the demo below, hide the Country column and then sort by the ID column. After the sort, some of the cells are not staying hidden! Am I doing something wrong?
http://trykendoui.telerik.com/@esorenson/UsOp
I'd appreciate any help!
5 Answers, 1 is accepted
0
Hello Eric,
You must handle column hiding in the row template. The following forum thread gives possible implementation.
Regards,
Nikolay Rusev
Telerik
You must handle column hiding in the row template. The following forum thread gives possible implementation.
Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Eric
Top achievements
Rank 1
answered on 27 Jun 2014, 04:53 PM
Thanks Nikolay, that helps, but it doesn't entirely fix the issues. Please see this example, which includes steps to recreate:
http://trykendoui.telerik.com/@esorenson/usas
Thanks,
Eric
http://trykendoui.telerik.com/@esorenson/usas
Thanks,
Eric
0
Hello Eric,
I wasn't able to replicate this behavior. Here is a short video capturing the execution of provided steps in Chrome Version 35.0.1916.153 m.
http://screencast.com/t/zfu4SsyUx
Regards,
Nikolay Rusev
Telerik
I wasn't able to replicate this behavior. Here is a short video capturing the execution of provided steps in Chrome Version 35.0.1916.153 m.
http://screencast.com/t/zfu4SsyUx
Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Eric
Top achievements
Rank 1
answered on 30 Jun 2014, 01:59 PM
Thanks for looking at this, Nikolay. The video does show the issue.
In the first example, the Last Name cells appear under the Title header, and the Title cells appear under the Last Name header.
In the second example, Last Name cells appear under the First Name header.
In the first example, the Last Name cells appear under the Title header, and the Title cells appear under the Last Name header.
In the second example, Last Name cells appear under the First Name header.
0
Hello Eric,
I've missed that. Here is what is happening:
- first scenario - the order of columns as well as the visibility state matters. You should not have the field names in the template hard coded
- second scenario - group cells must have `k-group-cell` class name. It is used for row alignment and those cells are skipped on show/hide columns.
Here is the updated example: http://trykendoui.telerik.com/@rusev/axuM.
Regards,
Nikolay Rusev
Telerik
I've missed that. Here is what is happening:
- first scenario - the order of columns as well as the visibility state matters. You should not have the field names in the template hard coded
- second scenario - group cells must have `k-group-cell` class name. It is used for row alignment and those cells are skipped on show/hide columns.
Here is the updated example: http://trykendoui.telerik.com/@rusev/axuM.
Regards,
Nikolay Rusev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!