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

Help!Blank row is coming by default in Databound GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

57418 Mar 3,2007 12:03 AM UTC Mar 5,2007 02:52 PM UTC Windows Forms 1
loading
Tags: GridControl
Manish Bafna
Asked On March 3, 2007 12:03 AM UTC

Hi,
I have simple one parent-child relationship in dataset which i have binded to Grid Grouping Control.Now the probelm is that one blank row is getting displayed at the very first in both parent and child in Datagrid.Also i have one boolean column in child table which is getting displayed as checkbox in datagrid but the probelm is that whenever i click on checkbox one row gets added at the bottom of the datagrid.Please help me out.It is really urgent for me.

With Warm Regards,
Manish Bafna

Administrator [Syncfusion]
Replied On March 5, 2007 02:52 PM UTC

Hi Manish,

This is a default behavior. If you want to remove the AddNewRow(Blank Row) in the top section of the group, you can set the ShowAddNewRecordBeforeDetails and ShowAddNewRecordAfterDetails property to false. Here is a code snippet

//For Main Groups
this.grid.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
this.grid.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = false;

//For Main Groups
this.grid.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false;
this.grid.NestedTableGroupOptions.ShowAddNewRecordAfterDetails = false;


//For Child Groups
this.grid.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false;
this.grid.ChildGroupOptions.ShowAddNewRecordAfterDetails = false;

Best regards,
Haneef

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

;