Is your feature request related to a problem? Please describe.
Currently, the filtering of record in the sfpegListCmp is done on client side on all records available
(or only those already retrieved in case of pagination). When this list is possibly large, it would be great
to have this filtering done server side to retrieve only the applicable records.
Describe the solution you'd like
Have an option to executed the filtering server- instead of client-side.
Provide the filter context (i.e. selected field name) entered by the user as input to the SOQL query
Automatically convert the filter context in a relevant SOQL WHERE clause (depending on the field type)
Possibly let the User set multiple criteria (see standard Salesforce filter in record lists)
Handle empty filter context.
Describe alternatives you've considered
Either have 2 separate filter features to still provide local vs remote filtering or only a single one to
simplify UX.
Additional context
A similar capability would be great for sorting, especially when leveraging pagination.
Beware that "all" filter option would not be possible for server side filtering.
Is your feature request related to a problem? Please describe. Currently, the filtering of record in the sfpegListCmp is done on client side on all records available (or only those already retrieved in case of pagination). When this list is possibly large, it would be great to have this filtering done server side to retrieve only the applicable records.
Describe the solution you'd like
Describe alternatives you've considered Either have 2 separate filter features to still provide local vs remote filtering or only a single one to simplify UX.
Additional context