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. Image for the cookie policy date
close icon

GGC and AddNewRow

Hi,

we are using a GGC for presenting our data. Now we have groups in our grid and we want for every group the "add new row" but not on top of all groups is this possible?

3 Replies

AD Administrator Syncfusion Team August 8, 2006 09:26 AM UTC

Hi,

To show the AddNew record in the bottom section of the group, you can set the ShowAddNewRecordAfterDetails to true and ShowAddNewRecordBeforeDetails = false.

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

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

Thanks,
Haneef


AD Administrator Syncfusion Team August 8, 2006 09:35 AM UTC

Hi,

Please try the below property, this will avoid the addnew row on the top.

this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = true; // to have addnew at the bottom
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;

Thanks,
Rajagopal


AD Alfred D'Souza October 23, 2006 08:38 AM UTC

Hi

Following statements wont work.
By doing
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = true;

the add record at the top will not appear but at the bottom also wont appear

Alfred

>Hi,

Please try the below property, this will avoid the addnew row on the top.

this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = true; // to have addnew at the bottom
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;

Thanks,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon