Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Wingrid Frequent Refresh
posted

I have a wingrid that I have bound to SQL Server via the Ultragrid designer.

Need this grid to refresh data from database every 5 seconds or so. I do not wish to lose layout and other local user preferences like column filters, sorts, row and cell selections.

Tried all the advises from other posts on this topic including these below:

UltraGrid1.Rows.Refresh(RefreshRow.ReloadData, True)
UltraGrid1.Databind()
Me.SecuritiesTableAdapter.Fill(Me.DsSecurities.Securities)

The last one works in that it refreshes the data but unfortunately loses the local user preferences that I mentioned earlier.

Is there any oher way I can reload data but still keep the user experience constant?

Thanks!