when applyIncrementalJson (delete column) it throw error
go to the jsfiddle and, add a column and delete it will be reproduce.
when applyIncrementalJson (delete column) it throw error
go to the jsfiddle and, add a column and delete it will be reproduce.
I’m not sure, but I suspect it’s just a matter of what order the bindings are being evaluated. I removed the two “throw new Error(…)” statements, returning zero instead, and it seems to work OK.
Remember that updating the number of columns after removing a column requires calling Panel.removeColumnDefinition, which won’t be done by calling Model.applyIncrementalJson or Model.applyIncrementalData.
OK then, i will return 0,
and after applyIncrementalJson i already call removeColumnDefinition remove the definition.
now it no error and seems work. :)