How to get only dirty rows from the report ?

Answered

Hi Team,
 
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.
 
Thanks
Ganesh

7 answers

Public
Tanya Gryshko Flexmonster May 2, 2018

Hello, Ganesh,
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?
Regards,
Tanya

Public
Ganesh Modak May 7, 2018

Hi, 
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.
 
Regards
Ganesh

Public
Dmytro Zvazhii Flexmonster May 7, 2018

Hello Ganesh,
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.
Regards,
Dmytro

Public
Ganesh Modak May 8, 2018

Hi Dmytro,
 
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.
 
Thanks

Public
Tanya Gryshko Flexmonster May 9, 2018

Hello, Ganesh,
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.
Regards,
Tanya

Public
Ganesh Modak 2 days ago

 Hi Team,
 
In datachanged() event, I need to retrieve also the old value.
 
Is it possible to do this ?
 
Thanks

Public
Tanya Gryshko Flexmonster 2 days ago

Hello, Ganesh,
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?
Regards,
Tanya

Please login or Register to Submit Answer