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

Hide Columns in Hierarchical grid displays wrong column sizes in Firefox, Edge

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 24 Jan 2019, 03:35 AM

I am using a hierarchical grid as per your demos for ASP.NET Core.  When I call the hidecolumn() js function like so:  
       $("#CategoryGrid").data("kendoGrid").hidecolumn("Category4");, it does work as expected, but only for the Chrome browser.  Firefox and Edge display a huge column size for the leftmost column with the expand button created by the hierarchical grid, (with the header class 'k-hierarchy-cell k-header').  When a column is removed in chrome the remaining column sizes expand uniformly, but in firefox and Edge, the leftmost column expands at a much faster rate, which will then shrink the rightmost columns with the actual data to below their minimum sizes.  Is there an easy fix for this?  

 

Thank you.

 

 

2 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 28 Jan 2019, 03:21 PM
Hi Chris,

Detailed information about the columns width and resizing could be found in the following help articles:
If the issue on your side persists, please attach the Grid configuration that you have and any custom code related with the hideColumn functionality.

Looking forward to your reply.


Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Chris
Top achievements
Rank 1
answered on 28 Jan 2019, 05:36 PM
That doesn't really help.  There was no scrollbars either vertical or horizontal.  It works 100% in chrome, but not in firefox or edge from what I've tested.  So it should just be a quick css or js change.  I've opened a ticket now.  The documentation doesn't explain any behaviour that is occuring in my Hierarchical grid.  As I said, the left most column which is just generated by the hierarchical grid expands much larger than any of the data columns, when I hide the data columns, but only in firefox, in chrome all the columns expand equally when I use the hidecolumn command.  
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Chris
Top achievements
Rank 1
Share this question
or