I'm developing a software on Excel as an App for Office, using office.js.
For some part, I'm hooking to a table in the excel to check if its data is changed using following code:
myBinding.addHandlerAsync(Office.EventType.BindingDataChanged, onBindingDataChanged);
function onBindingDataChanged(eventArgs) {
// eventArgs has just the binding info.
// I want to have selected cell row and column, and old and new data.
}
Unfortunately the information in eventArgs is not enough for me to detect changes.
Worth to mention that for Office.EventType.BindingSelectionChanged, there's lots of usable information such as startRow, startColumn, ....
So my question is: How can I access these information:
- Changed Row
- Changed Column
- Old Data
- New Data