Feature request: Ability to get changed df without the filters
I want to use QGrid to present a table to a user and give him the ability to edit certain things. The tables sometimes can be very big and the user will do a lot of filtering and each time will change other rows.
My problem is, that if the last filter will not be cleared, I will not be able to detect all the changes. I will be able to see only the rows that presented on screen using the get_changed_df function but maybe the user did also other changes previously.
My request is to expose a new function get_unfiltered_changed_df that will give me all the changes done to the table but without the filtering (maybe even without the sorting, but this is less important).
Another option is to have new flags in the get_changed_df(filtered=True, sorted=True) function which by default will behave the same as today but will give the option to get unfiltered/unsorted df.
Thanks.
I see that already today it exist in a private variable and can be accessed grid._unfiltered_df but it's not officially supported.
Also, if no official function for this, the internal grid._unfiltered_df might not be supported in later versions
I think this function would be very important. Without this the user is obliged to manually reset all the filters before saving the work. This is really awkward and error prone.
I am using this for a visualization and I saved partial results several times before understanding that i forgot to remove a filter
The component is great
I agree with @alucab Not being able to get a view of the edited, but unfiltered version of the DataFrame forces me to disallow filtering in situations where I want to post the differences between the original df and the changed_df. I like qgrid a lot already. Adding this feature would help me out a lot, though.
_unfiltered_df does not reflect edits