Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I've encountered a bug in SfDataGrid component. I need combined solution of dynamically adding or removing columns on runtime and Serializing/Deserializing last state of SfDataGrid based on users settings.

I"ve created very simple solution with two buttons for adding/removing columns and it works just as expected on first startup. But after deserialization process (restarting application) it breaks a lot of functions in grid.

Steps for reproduction:
Add Syncfusion.Data.WPF.dll and Syncfusion.SfGrid.WPF.dll in references
Start and close app for datagrid to save (Adding and removing columns with buttons will work on first startup)
Starting app again will deserialize saved state and buttons will not work, although code executes correctly and SfDataGrid.Columns collection updates properly too
(for clean restart delete SfGrid.xml in build folder)

Overall really strange behavior after deserialization:
Adding column doesn't update UI, but when you restart the application and Serialization process runs again, new column will appear.
After removing/adding columns resizing columns throws an exception.
Removing column doesn't update UI and restarting application throws exception on startup (Deserialization process doesn't work)

Is there any error in my application? This feels like a lot of bugs on simple serialization process

Have a nice day
David Seda