on 05-14-2018 12:58 PM
Hi Experts,
I have a table with few columns. On right click of each column a responsive popover with dynamic id opens with a input field. The value in the input field will filter the data in the table for that column.
I have placed a clear filters button in the footer of the table. My questions is how to clear the value in the input field of the popover and display unfiltered data in the table.
So far I am able to get the table data but not able to get clear the popover's input field as it generated dynamic id.
Please suggest a solution for the same.
Thanks,
Srinivasan
Check the code for clearing filters in table links:
Refer to the behavior in the link:
https://sapui5.hana.ondemand.com/#/sample/sap.ui.table.sample.Filtering/preview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the code - method - handleConfirm for your requirement.
https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.TableViewSettingsDialog/code/C.controller.js
use JSON model to bind the input fileds of each popover...
on clear remove the values in JSON model binding path....this will clear values in popover..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.