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 updating issue

Thread ID:





41495 Mar 2,2006 11:19 PM UTC Mar 5,2006 06:05 AM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On March 2, 2006 11:19 PM UTC

I am modifying the underlying data in the grid control. This will cause the data to change the row ordering. I have tried everything from refresh to refreshrange. Is there a way to reforce this to paint correctly?

Administrator [Syncfusion]
Replied On March 3, 2006 05:00 PM UTC

Hi Chuck, This happens, because the data table always maintain a sort order. So, if there is any reordering of a row, the respective column only gets changed. To avoid these, You have add an additional column to the datatable that holds a sortKey which maintains the sort order. You can hide this column. When you initially set the DataSource to the grid, you sort the datatable on this column using its defaultview.sort property. Please try this sample, i hope it will give some idea to solve the issue. Let us know if this helps. Best Regards, Madhan.

Administrator [Syncfusion]
Replied On March 3, 2006 05:16 PM UTC

Maybe you misunderstood. I already have a column that I sort on (it is not displayed). I am making changes to the underlying data so that the display needs to be updated. However when I make the changes the display does not get updated until I physically click on another row. I have tried using refresh and refresh range and nothing seems to take effect accept clicking on a new row.

Administrator [Syncfusion]
Replied On March 5, 2006 06:05 AM UTC

Hi Chuck, Thanks for providing details and please provide us some more details, what version of grid are you using? What type of datasource?. As in our case i using a datatable biding. When i make any changes in the underlying datasource, the grid is updating properly. If possible update us a sample or modify any broswer accordingly to reproduce the issue here. Best Regards, Madhan.


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