Hi,
I have a GridGroupingControl bound to a DataSet. The DataSet has two tables in it, one is the parent of the other.
How do I hide a row for a specific DataRow?
It appears that the row hidding mechanism works via row index numbers, e.g. _grid.TableModel.RowHiddenEntries.Add( new GridRowHidden( rowIndex))
How do I get the row index for a DataRow object?
Thanks
Sat
SS
Sat Sandhu
October 27, 2006 12:42 PM UTC
Any ideas anyone? This is very urgent :-(
AD
Administrator
Syncfusion Team
October 27, 2006 01:00 PM UTC
Hi Sat,
Regarding the Question "How do I hide a row for a specific DataRow?" :
The sample implements the custom engine with CreateRecordsDetails overriden method and also implements IGridRowHeight interface to hide the particular record (DataRowView). It hides the ParentTable table for the datarowview having the Show is "1". Please refer to the attached sample and let us know if you are trying something different.
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GGChideRows_7889f1c5.zip
Also refer to the below forum thread for hiding the records in a grid.
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=45803
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
February 22, 2007 05:35 PM UTC
>Hi,
I have a GridGroupingControl bound to a DataSet. The DataSet has two tables in it, one is the parent of the other.
How do I hide a row for a specific DataRow?
It appears that the row hidding mechanism works via row index numbers, e.g. _grid.TableModel.RowHiddenEntries.Add( new GridRowHidden( rowIndex))
How do I get the row index for a DataRow object?
Thanks
Sat