Hide a row in RadPivotGrid through code

2 posts, 0 answers
  1. Srinivas
    Srinivas avatar
    9 posts
    Member since:
    Sep 2014

    Posted 28 Mar Link to this post

    Hi,

     

    I have code in this format:

                    LocalDataSourceProvider1.RowGroupDescriptions.Add(GetGroupDescription("ABC"));
                    LocalDataSourceProvider1.RowGroupDescriptions.Add(GetGroupDescription("DEF"));
                    LocalDataSourceProvider1.RowGroupDescriptions.Add(GetGroupDescription("XYZ"));

    Now I have to add a Row, which is invisible to the user (I have to send that as an argument to a converter later).

     

     

    Thanks in advance,

    Srinivas M.

     

  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 29 Mar Link to this post

    Hello Srinivas,

    I'm afraid it won't be possible to add anything invisible in the PivotGrid. However what you can do you would be set the DeferUpdates property of the provider to true. This way you could modify the RowGroupDescriptions as many times as needed and the PivotGrid won't be refreshed until manually call the Update() method of the provider.

    Hope this helps.​

    Regards,
    Kalin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top