Posted 10 September 2017, 10:59 am EST
Please forgive if this has been discussed previously, I did a forum search and didn’t see much. I’m new to Spread but experienced in WPF. I’m looking to bind the control so a sheet represents an IEnumerable collection of objects with various DependencyProperties that will make up the various columns in the sheet. I’d like to have these bindings be two way, such that when a user changes a value in a cell, it’s updated in the appropriate property in the corresponding object. However, the Spread WPF documentation states:
“GcSpreadSheet supports one way data binding. Changes to the source automatically update the target but, changes to the target are not propagated back to the source.”
So does this mean, I’ve got to use code behind to handle events when a cell changes and update the value in the object myself? Is that what you all are doing? Handling things in this way seems much more involved and more difficult to maintain than two way data bindings. I’d love to hear people’s thoughts. Thanks!