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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBoundGrid with relation

Thread ID:





43307 Apr 20,2006 08:09 AM UTC Apr 20,2006 11:19 AM UTC WinForms 1
Tags: GridControl
Asked On April 20, 2006 08:09 AM UTC

How do I NOT show the same rows in the grid when there is a self join relation in the dataset that the grid is bounding to?

Administrator [Syncfusion]
Replied On April 20, 2006 11:19 AM UTC

Hi Kai, There is no built-in support for hide the duplicate record in a GridDataBoundGrid.The GridDataBoundGrid only displays what is presented to it by its DataSource.If you want to hide the duplicate record, then you need to implement your own support for hiding the duplicate record in a GridDataBoundGrid.Here is a code snippet for hide a Row/Reocrd //Rows this.grid.Model.Rows.Hidden[5] = true; //For hide the 5 th Row this.grid.Model.Rows.Hidden[5] = false; //For show the 5 th Row //get the record index using Binder int RecordIndex = this.gridDataBoundGrid1.Binder.RowIndexToPosition(5) this.grid.Model.Rows.Hidden[RecordIndex] = true; Let us know if this helps. Best Regards, Haneef


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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