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

AddnewRecordeforeDetails Problem

Thread ID:




59550 Apr 17,2007 08:22 AM UTC WinForms 0
Tags: GridControl
Aditi Pisal
Asked On April 17, 2007 08:22 AM UTC

I am using grid grouping control ver:
I have used the custom engine given by syncfusion for my earlier query.
In that there is a piece of code:
// AddNewRecord
AddNewRecordSection addNewRecordSectionBeforeDetails = this.ParentTableDescriptor.CreateAddNewRecordSection(this);
addNewRecordSectionBeforeDetails.IsBeforeDetails = true;

in the
protected override void OnInitializeSections(bool hasRecords, SortColumnDescriptorCollection fields)
Now the problem is that I have used
this.bmsdgHierarchyMapping.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true;
to set 1 row in the section of the grid as a blank row.
But as soon As I type something in that blank row which is above the datasection..and move out to another cell of next record.. I get a blank new below my data section.
Ths is not expected ..since I require only data bound to data source ..and do not require any additional row below the data section .
I have analyssed this behaviour and found that the custom engine code sets the new rows below the actual data section.
Pls help and reply asap.
Sample exe will be useful.
Thanks in Advance,
Aditi Pisal



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