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.

GDBG - Row in edit mode after init

Thread ID:

Created:

Updated:

Platform:

Replies:

73715 May 15,2008 08:44 AM May 26,2008 03:46 AM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 15, 2008 08:44 AM

Hi

This question is concerning the GridDataBoundGrid.

I have followed your KB Article on "How do I have formula cells in a GridDataBoundGrid?" which works splendid.

However, the code somehow puts the grid´s currentcell into edit mode, causing the edit-icon to appear in the row header, even the first time the grid is shown.

When the application starts, I need the grid to not be in any kind of edit mode, the top left cell should be selected - but without the edit-icon in the row header.

Can anyone please help me?


Jisha Joy [Syncfusion]
Replied On May 22, 2008 05:03 AM

Hi Johan,

Thank You for your interest in Syncfusion products.

Please include the following code snippets in the GridSaveCellInfo event:

[C#]

if (this.gridDataBoundGrid1.Binder.IsAnyDirtyField())
this.gridDataBoundGrid1.Binder.EndEdit();

Please refer the modified KB sample:


http://www.syncfusion.com/support/user/uploads/CS_fb0753a.zip




Please let me know if this helps.

Regards,
Jisha


Administrator [Syncfusion]
Replied On May 26, 2008 03:46 AM

Thank you Jisha, it worked very well!

Regards,
Johan

>Hi Johan,

Thank You for your interest in Syncfusion products.

Please include the following code snippets in the GridSaveCellInfo event:

[C#]

if (this.gridDataBoundGrid1.Binder.IsAnyDirtyField())
this.gridDataBoundGrid1.Binder.EndEdit();

Please refer the modified KB sample:


http://www.syncfusion.com/support/user/uploads/CS_fb0753a.zip




Please let me know if this helps.

Regards,
Jisha




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.

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.

;