Hide horizontal scrollbar in frozen columns
I have a RadGrid in which I want the first two columns to be fixed. I got it using this code:
<telerik:RadGrid ID="rgCallLogin" runat="server" AllowFilteringByColumn="True">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="2">
</Scrolling>
</ClientSettings>
<MasterTableView>
--
--
</MasterTableView>
</telerik:RadGrid>
I now have a horizontal scrollbar across all columns. Is there a way to show the scrollbar only in unfrozen columns?
+3
source to share
1 answer
Not. There seems to be no way to achieve this (as you can imagine, since this question has gone unanswered). This is because it is a scroll rgDataDiv and contains all columns. The freeze frame effect actually sets the display: none in the leftmost unfrozen column when scrolling.
FYI, there is an alternative solution where you can enable ClientSettings.Scrolling.EnableNextPrevFrozenColumns for button-based scrolling across non-docked columns.
0
source to share