davidegironi / advanceddatagridview

A .NET WinForms DataGridView with advanced capabilities
392 stars 123 forks source link

MenuStrip data types update OnDataSourceChanged #96

Closed ChristopherGuay closed 1 year ago

ChristopherGuay commented 2 years ago

The data type for MenuStrips is now updated in the grid's OnDataSourceChanged event. Similar to how that event checks to see what MenuStrips need to be disposed before triggering the base event, this change adds a loop to change the data DataType based on the columns' current ValueTypes post-event.

I believe this addresses issue #95 and issue #10.

davidegironi commented 1 year ago

Hello @ChristopherGuay , you have to excuse my delay, I'm full of work. Maybe in the next weeks I'll have some time to test your changes and possibly make a new release.

davidegironi commented 1 year ago

Merged and updated ans a new release. You can find it in nuget. Thank you for your help.