Confused about data grid options to allow scrolling/resizing.

1 Answer 100 Views
General Discussions
Darrel
Top achievements
Rank 1
Darrel asked on 30 Aug 2024, 02:28 AM

I'm trying to make a few of our datagrids that end up having way too many columns a bit more manageable for users. 

Setting the table to 'scrollable: true' seems like it should fix one issue and allow the datagrid to overflow with scrollbars, so you an scroll the table itself rather than the entire page. 

But when I add 'scrollable: true' to our datagrid, I get a very different result...instead of allowing the really wide table to scroll, in collapses all the columns to fit the width of the window. In some ways, this is useful--but not at all what that property is meant to do, is it?

Am I misunderstanding something? 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 03 Sep 2024, 11:24 AM

Hello, Darrel,

Could you please provide a small example with your Grid configuration? Basically, in order for the scrollbars to appear, the width of the columns needs to exceed the width of the Grid. Here you will find a Dojo demo for reference. 

Let me know if that would be helpful.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
General Discussions
Asked by
Darrel
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or