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 Current Cell not refreshing ...

Thread ID:





14990 Jun 9,2004 10:12 AM Jun 9,2004 11:22 AM Windows Forms 2
Tags: GridControl
Lee Perkins
Asked On June 9, 2004 10:12 AM

I have a custom collection (CustomerIncomes)bound to the GDBG. When I change the data in the objects (CustomerIncome) in CustomerIncomes and do a GDBG.Refresh(), all the cells in the GDBG change to reflect the new data, except the current cell. If the user moves off the current cell, it refreshes to show to new data. How can I make the current cell refresh at the time I call GDBG.Refresh() instead of later when the user moves off the cell? ----- Lee Perkins

Administrator [Syncfusion]
Replied On June 9, 2004 10:45 AM

Instead of calling grid.Refresh, try calling grid.RefreshRange(grid.ViewLayout.VisibleCellsRange, true); The second argument equal true should force the currentcell to refresh.

Lee Perkins
Replied On June 9, 2004 11:22 AM

Thank you. That was exactly what I needed. :) The object model (just on the GDBG!) is so vast it''s sometimes easy to get lost when learning it. I can''t believe how "all encompassing" it is. :) ----- Lee Perkins


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.