Showing FrozenColumnsSplitter when CanUserFreezeColumns="false"

9 posts, 0 answers
  1. Felix
    Felix avatar
    11 posts
    Member since:
    Jul 2012

    Posted 19 Jun 2012 Link to this post

    HI there,

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Jun 2012 Link to this post

    Hi,

     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.

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Felix
    Felix avatar
    11 posts
    Member since:
    Jul 2012

    Posted 19 Jun 2012 Link to this post

    I set in Code Behind:
    this.tableReportGridView.FrozenColumnCount = this.ExtractKeyColumnsCount();
    And the FrozenColumnSplitter is not showing..

    <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" />
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Jun 2012 Link to this post

    Hi,

     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 >>

  5. Felix
    Felix avatar
    11 posts
    Member since:
    Jul 2012

    Posted 19 Jun 2012 Link to this post

    It changes dynamically, but it doesn't work in every case. Zero to ten it doesn't work.
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Jun 2012 Link to this post

    Hello,

     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 >>

  7. Felix
    Felix avatar
    11 posts
    Member since:
    Jul 2012

    Posted 22 Jun 2012 Link to this post

    I found the problem in Version 2011.4 this didn't work! Version 2012.2 it worked from the beginning.
  8. Larry
    Larry avatar
    12 posts
    Member since:
    Dec 2009

    Posted 13 Feb 2013 Link to this post

    According to document, this flag controls the visibility of freeze splitter, which seems wrong?

    Also we have 2012.3 , and when this is set to false and change FrozenColumnCount, the splitter doesn't always show.
  9. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 14 Feb 2013 Link to this post

    Hello,

    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?
     

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top