In an editable flex pivot, how can I get only the modified (dirty) rows ? Is there any API method for this ?
I want to avoid iterating over entire report to find out the modified rows.
Functionality we want to implement is saving the modified rows to the server.
Thank you for writing to us.
Please have a look at the docs for datachanged event, which is triggered after the user edits data.
Does it help in your case?
Thanks for the doc, editing is working as mentioned, but I want only some of the columns to be editable (now all columns are editable).
Also I want to get all the modified rows in one go (in an array or something), now it notifies about changes in a single row at a time.
Thank you for your feedback.
For now, the component does not allow enabling the editing only for some columns. If the feature is enabled it is applied to all columns. Could you please specify how critical this feature is for you?
Speaking about getting modified rows, our developers see the following solution. We can add the
ondrillthroughclose event which is triggered when the drill through window is closed. In such case, you will need to accumulate changed rows into some property using
datachanged event and then you can send that property to the server after the
ondrillthroughclose event is triggered.
Please let us know if the suggested approach works for you.
Enabling editing only for some columns is quite critical for us because we need to port an existing table to flexmonster
where there are some columns which should not be editable.
We need this feature only for flat table since we are using only this option.
Thank you for your feedback!
The feature of enabling editing only for some columns can be implemented as a customization project. Our Client Service Manager will contact you via email with more details.
In datachanged() event, I need to retrieve also the old value.
Is it possible to do this ?
Thanks for your reply.
Currently, you can retrieve only the new value in the datachanged event.
We can add the ability to retrieve the old value in the minor release 2.5.4 (ETA Jun 4).
Does it work for you?