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

GDBG - Row in edit mode after init

Thread ID:

Created:

Updated:

Platform:

Replies:

73715 May 15,2008 12:44 PM UTC May 26,2008 07:46 AM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 15, 2008 12:44 PM UTC

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 09:03 AM UTC

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 07:46 AM UTC

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.

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

;