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

Kendo Grid Column Min Screen Width - I like similar functionality for Grids placed inside a div or a Kendo Splitter

1 Answer 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 13 Aug 2015, 09:45 AM

The Kendo Grid Column MinScreenWidth setting works really well for grids taking up the full screen width (i.e. columns can be dynamically hidden/displayed as the screen width is shrunk/expanded)

However, I'm running a Kendo Grid inside a Kendo Splitter, and I'd like the grid to exhibit the same kind of functionality when the splitter width is varied.

Does anyone know of a way to achieve this?

Regards,

Chris

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 17 Aug 2015, 07:53 AM

Hello Chris,

 

This is not supported out of the box, but you can use the Grid API, and hide a column whenever the size of the parent contains is below your requirements, here is the documentation about it:

 

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#methods-hideColumn

 

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#methods-showColumn

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Chris
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or