We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hiding Rows

Thread ID:

Created:

Updated:

Platform:

Replies:

51089 Oct 27,2006 09:51 AM UTC Feb 22,2007 05:35 PM UTC Windows Forms 3
loading
Tags: GridControl
Sat Sandhu
Asked On October 27, 2006 09:51 AM 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

Sat Sandhu
Replied On October 27, 2006 12:42 PM UTC

Any ideas anyone? This is very urgent :-(

Administrator [Syncfusion]
Replied On 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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;