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
1015
Update WinGrid with added field from WinDataSource
posted

I have a WinGrid which is connected to a WinDataSource. I have spent time arranging the field layouts in the grid. Now I add a new field to the WinDataSource. When I go back to the WinGrid, the new field is not represented. So I would like to "Update" the WinGrid to see that there is a new field in the DataSource. The only way I have found to do so, is to change the DataMember property of the grid, and then reset it. Unfortunately, doing so also resets the whole layout that I painstakingly set up.

How can I have the WinGrid recognize there is a new field in the DataSource without messing up the columns layouts.

Parents Reply Children