Menu

Hide a row

Help
2007-06-19
2013-04-23
  • Nobody/Anonymous

    I am attempting to hide rows in a Sourc Grid as Follows:

    grid.Rows.HideRow(int rowIndex);

    However, doing this hides all the rows in the grid instead of just one.

    My question is how do you hide a specific row in a grid and how do you show that same row when needed ?

    I have tried using the HideRow(int rowIndex) and ShowRow(int rowIndex) methods but in my case, they are both acting on the entire collecion of rows instead of the specified rowIndex.

    Thanks.

     
    • Nobody/Anonymous

      Consider that these methods can be used only with the standard SourceGrid.Grid control.

      I think that you are using DataGrid right?

      Unfortunately DataGrid grid doesn't support rows hide.

      Davide

      P.S. I suggest to post new questions on the www.devage.com forum . This forum is no more supported.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.