This question is locked. New answers and comments are not allowed.
Kieron Toussaint
Top achievements
Rank 1
Kieron Toussaint
asked on 16 Feb 2010, 04:24 AM
How do I enable horizontal scrolling in the grid?
8 Answers, 1 is accepted
0
Accepted
Hi Kieron Toussaint,
Horizontal scrolling is enabled automatically in case the total width of the columns exceeds the width of the grid and the Scrollable method is invoked. Make sure you have specified the width of your columns though.
Kind regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Horizontal scrolling is enabled automatically in case the total width of the columns exceeds the width of the grid and the Scrollable method is invoked. Make sure you have specified the width of your columns though.
Kind regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Tom Pocock
Top achievements
Rank 1
answered on 12 Aug 2011, 03:04 PM
Hi Atanas,
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
0
Tom Pocock
Top achievements
Rank 1
answered on 12 Aug 2011, 03:04 PM
Hi Atanas,
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
0
Tom Pocock
Top achievements
Rank 1
answered on 12 Aug 2011, 03:04 PM
Hi Atanas,
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
How do I enable horizontal scrolling only? I would like to keep the default vertical behaviour of sizing the grid to the number of rows.
It would also be nice to have the columns resize to the size of the data (ie not specify a size for each). Can this not be done without disabling the scrolling?
Many thanks,
Tom
0
Tom Pocock
Top achievements
Rank 1
answered on 12 Aug 2011, 05:59 PM
Found what I need. Put the grid inside a div with a large width, inside another with overflow-x:scroll. Scrollable is false on the grid
0
USMAN
Top achievements
Rank 2
answered on 06 Jan 2012, 03:21 PM
Hi Tim Pocock,
can you please explain that how did u implement the horizontal scroll on Telerik MVC Grid.
can you please post code for explaination. (only the view)
can you please explain that how did u implement the horizontal scroll on Telerik MVC Grid.
can you please post code for explaination. (only the view)
0
Joshua
Top achievements
Rank 1
answered on 26 Jan 2012, 09:22 PM
Thanks so much for pointing this out....I couldn't figure this out for the life of me
0
Hetal
Top achievements
Rank 1
answered on 17 Jul 2012, 07:06 AM
Hello,
I am not able to get Horizontal scroll... so want to understand that what do u mean by total width of the columns exceeds the width of the grid? I mean how can I get width of grid? I understood total width of columns but not grid width.
I am not able to get Horizontal scroll... so want to understand that what do u mean by total width of the columns exceeds the width of the grid? I mean how can I get width of grid? I understood total width of columns but not grid width.