Get Free Trial

Global Search and Sorting issues

Subramanian asked on November 19, 2020

I wanted to enable the global search by any values in the table.. how do I achieve?
Also, I have an issue with flat table sorting. I don’t see a sort option in the filter box. Please check the attached screenshot.


1 answer

Vera Didenko Vera Didenko Flexmonster November 19, 2020

Thank you for writing to us.
Please see our answers and suggestions below:

  1. Regarding global search:

    For such cases, we kindly suggest the following approach: 

    1.1) When the search string is entered, filter the data based on the input outside of Flexmonster (for example, on your backend).
    Could you please specify your data source type?

    1.2) Then update Flexmonster with the filtered data.
    The data in Flexmonster can be updated with the updateData() API call
    Also, we would like to mention that recently our team has added a live member search feature that can be enabled with the liveFiltering: true option.
    We have prepared a JSFiddle example for illustration:

  2. About sorting option in filter box for the flat table:

    Our team would like to kindly explain that for the flat table sorting controls in the filter pop-ups are omitted by design:
    For the flat table, more advanced sorting is implemented: it is possible to apply multi-column sorting (use Ctrl + click to sort via UI).
    Here is an example for illustration:

    With this in mind, currently, flat table sorting is applied only through the grid (arrow icons) or programmatically.

We hope this helps. If further questions arise, please feel free to reach out.
Kind regards, 

Please login or Register to Submit Answer