Rank: Member Groups: Member
 
 
Joined: 5/15/2012 Posts: 18 
	 | 
		   
	     
		    Hi
  I need to hide specific rows at runtime. I have tried setting the grid.Items(i).StyleSetID = "StyleSet1" where styleset1 has visibility = collapse
    <eo:GridItemStyleSet StyleSetID="StyleSet1">                                              <ItemStyle CssText="background-color:white;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none; visibility: collapse;" />                                              <AlternatingItemStyle CssText="background-color:#FFFFFF; visibility: collapse;" />                                              <ItemHoverStyle CssText="" />                                              <SelectedStyle CssText="color:#3333ff;" />                                              <FixedColumnCellStyle CssText="visibility: collapse" />                                              <CellStyle CssText="padding-left:0px; padding-top:0px; color:#FFFFFF; white-space:nowrap; visibility: collapse;" />                                          </eo:GridItemStyleSet>
  When it renders the row(s) is blank but it does not collapse the space, so there is a gap between the visible rows and the collapsed row. What can I do about this?
		 
	 | 
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  That won't work. But I believe you can set GridItem.Deleted to true to hide an item.
  Thanks!
		 
	 | 
	
		Rank: Member Groups: Member
 
 
Joined: 5/15/2012 Posts: 18 
	 | 
		   
	     
		    thanks that worked
		 
	 |