I am using v2018.1 & VS2019 I have a wingrid tied to a dataset. I add new columns to the dataset and they show in the designer. But when I run the program they aren't visible. The new columns hidden property is false. What do I need to do to get the columns to show up?
Thanks
Steve
Glad to hear that the issue has been resolved.
Thank you for using Infragistics components.
SIncerely,
Tihomir TonevAssociate Software DeveloperInfragistics
I just found the problem and it is ourselves. I didn't realize the program was manipulating the grid columns before displaying it. Sorry for my stupid error.
Do you create layout for the grid?
In cases where you would just add data source without defining layouts, the grid will update anytime the data source updates.
Is it possible to create a sample where I can test this and see what might be wrong?
Looking forward to your reply.
Before I display the grid I use a tableadapter to fill the data table. As I've said the data in the grid is correct. it displays the rows in the data table.
Why do the columns as showing in the designer within VS not get built? When I build/run the project why does the old format of the grid show? Is there a file that the designer generates that could possibly not get recreated when I change the column format? The problem seems to be with the build process and not the execution (i.e. when the select statement is issued).
Hello,
Thank you for your reply.
When do you call the select statement?
You assign .DataSource to .Ds1, but what is in .Ds1 at that point?
If Ds1 is a collection that implements INotifyPropertyChanged, when the select statement resolves, the grid will update. If it does not, and it takes some time for the server to respond, the grid won't know that the data has been updated and it will not show the new data.
Sincerely,