I have a little problem. I want to show the FrozenColumnsSplitter but without allowing the user to change the freeze. This means CanUserFreezeColumns="False".
I set the frozen columns throught the code. How can I achieve the described behavoir?
Kind regards
Fx
8 Answers, 1 is accepted
You could set the CanUserFreezeColumns="False" and FrozenColumnCount="1". This will allow you to have the first column frozen all the time. The frozen indicator will be visible as well.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
this.tableReportGridView.FrozenColumnCount = this.ExtractKeyColumnsCount();<telerik:RadGridView x:Name="tableReportGridView" AutoGenerateColumns="False" CanUserDeleteRows="False" EditTriggers="None" IsFilteringAllowed="False" ItemsSource="{Binding Data}" RowIndicatorVisibility="Collapsed" SelectionMode="Extended" ShowColumnFooters="False" ShowGroupFooters="True" ShowGroupPanel="False" CanUserReorderColumns="False" CanUserInsertRows="False" CanUserFreezeColumns="False" />Is by any change the FrozenColumnCount equal to "0" in that case? The value for the FrozenColumnCount should be greater than "0".
Regards,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Please check our online demo for a reference on how to show FrozenColumnsSplitter when CanUserFreezeColumns="false".
Kind regards,Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Also we have 2012.3 , and when this is set to false and change FrozenColumnCount, the splitter doesn't always show.
The CanUserFreezeColumns property defines whether the User can Freeze/UnFreeze columns at runtime. You say that the splitter does not always show. Would you please clarify when it shows and when it does not?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.