Skip to Content

Reset Custom Filters for sap.m.table columns

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 14, 2018 at 01:13 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 14, 2018 at 03:56 PM

    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..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.