Posted 8 September 2017, 9:47 am EST
Hi,
I am using spreadjs for one of our company projects. Is there any way for me to set up a data state which getDirtyRows compares against to get the modifed rows? The issue is that I am using an API to get the JSON formatted data and binding it to the sheet. Then I am adding an additional 500 rows. getDirtyRows always returns ALL the rows that are in the sheet including the empty ones. Also this same sheet is a generic sheet that is used for some 80 odd classifications of data. At times the getDirtyRows function returns the exact same rows in both Item and originalItem.
Is there a way for me to tell spreadjs which initial data to compare against? Specifically I want to bind the data, add the extra rows and then set this as the originalState of the sheet.
On the validation front I was wondering if there is any function which can tell me if any validation on the sheet is failing. From what I see in the API I have to call all validators one by one and check their state.
Thanks and Regards,
Rahul
