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

Only scrollbar under non-frozen columns

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mads
Top achievements
Rank 1
Mads asked on 06 Oct 2015, 08:47 AM

I have set 

FrozenColumnCount="8"

Is it then possible to only have the horizontal scroll-bar be visible under the other columns and not the frozen columsn?

Right now the scroll-bar extends from the start of the grid. But would like it to be visible under column 9 and forth

 

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 09 Oct 2015, 08:05 AM
Hi Mads,

There is no out-of-the-box option that would allow to achieve this behaviour.

What I'd suggest is extracting and modifying the template of the GridViewScrollViewer. In it, there is a ScrollBar control for the horizontal scrollbar and you can set its Width based on the desired remaining space. You can take a look at the template structure of the control here and I'd also suggest going through the implicit styling approach documentation.

I hope this is useful.

Regards,
Petya
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Mads
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or