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

GGC refresh issue.

Thread ID:





64057 Jul 13,2007 09:42 AM UTC Jul 16,2007 02:10 PM UTC WinForms 2
Tags: GridControl
DuplicateDanny Evans
Asked On July 13, 2007 09:42 AM UTC

Hello, I hope you can explain a problem I am experiencing.

I am running MS V/s 2005 and have a gridgroupingcontrol bound to a table in a dataset through a bindingsource (All created via the tasks drop down presented during design time.

A couple of the fields are populated from dropdown lists. These are obtained by setting up foriegnkeyreferences which all works fine.

When running. The addnew row allows for new lines to be edited and the results show up. ie clicking the enabled button will toggle it. However, Once the line has been added a new behaviour is observed.

If I click the enabled button the grid isnot updated (The change has taken effect just the grid has not updated) until I move off the row or press enter. If instead of moving off the row or press enter but TAB to the next field the change is lost (ie, pressing enter or moving off the row does not update the grid).

I've been using the syncfusion grids for a while now and not seen it behave like this which makes me think I may have clicked an option on/off to make it behave like this?

Dan Evans

haneefm [Syncfusion]
Replied On July 13, 2007 09:53 PM UTC

Hi Daniel,

By Default,The GroupingGrid will push all data for a row into the underlying datasource for every record once you move the current cell of that record. Once the changes for a record have been pushed into the datasource the grid has no more knowledge about these changes and thus cannot reverse and undo these changes.It does not push all data for a row into the underlying datasource for every cell movement. If you want to commit all data to undelying datasource for every cell movement(button's click),you can call in Table.EndEdit Method(before calling this , you need to call the Table.TableDirty property to true). Below are the code snippet.

this.Grid.Table.TAbleDirty =true;

Best regards,

DuplicateDanny Evans
Replied On July 16, 2007 02:10 PM UTC

Thank you Haneef. calling Table.Endedit; Table.TableDirty = true; during the tablecontrolcurrentcellchanged event for certain column allowed me to control the grid to give the required results.


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