sap.m.Table - Support for table filtering
Why are you proposing this feature?
In the current version 1.120 of UI5, sap.m.Table supports sort/group, but filtering support is absent from the samples provided in the documentation.
How should a possible solution look like?
Add a filter item in the dialog.
Are there alternative approaches?
No response
Organization
SAP
Additional Context
Business Impact : SAC
Priority
High
Privacy Policy
I’m not disclosing any internal or sensitive information.
Hello @acacac13 ,
Thank you for sharing your enhancement proposal. I've created an internal incident DINC0588412. The status of the issue will be updated here in GitHub.
Best Regards, Nikolay Hristov
Hello @acacac13 yes, the option for filtering in the column menu does not yet exist, but the requirement is known. Could you please share some more details in which context you need this functionality? You mentioned the SAC grid. Do you expect to have it integrated there or in one of the other tables (e.g. Smart- or MDCTable). Or are you mainly be interested in a standalone API to offer such a menu entry which can then be implemented on application side (standalone app development). Thanks and Best Regards Jens
FIORITECHP1-34048
Hi @simlin
It seems that both SmartTable and MDCTable require OData services to drive them. My use case only involves changing the frontend UI and, based on existing JsonModel data, providing a table that supports sorting, filtering, and responsiveness. Therefore, sap.m.Table would be more suitable.
By the way, there's another sort-related issue. I have been working with sap.m.Table and sap.m.p13n.Engine, referring to this sample: https://ui5.sap.com/1.120.34/#/entity/sap.m.Table/sample/sap.m.sample.p13n.Engine. I also encountered some issues during the process. When trying to synchronize data between QuickSort and the engine dialog, oP13nEngine.retrieveState consistently throws an error: TypeError: Cannot read properties of undefined (reading 'getChangesMapForComponent'). I have checked that the table is correctly registered with the p13n engine, and the table ID matches. Can you help identify what the issue might be, or could you provide an example JavaScript code?
Best Regards, Can
Hello @acacac13 ,
thanks for the details. The requirement is understood and it is on our agenda to have a complete personalization offering also in the column menus. Nevertheless, it might take a while depending internal priorities.
For the problem you mentioned, I kindly ask you to open a separate issue to avoid that things gets mixed.
Thx and Best Regards Jens