Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
How to hide and show rows in XamWebGrid
posted

Hi,

  I need to hide and show rows in webgrid at runtime. Is there any way to do that?

 

Please give sample code for the same.

Thanks,

Nandu

Parents
No Data
Reply
  • 40030
    Offline posted

    Hi Nandu, 

    We do not have a Visibility property on a row. However, you could toggle the height of the row to 0. 

    grid.Rows[0].Height = new RowHeight(0);

    -SteveZ

Children