I have a datatable and on "rowselect", another datatble gets populated on the screen . e.g, if I select an employee another datatable with all the records for the employee gets displayed. If I do some filtering on the second datatable, it works fine. But now, if I select some other employee on the first table, the previously filtered list does not change. It still shows the records for the first employee. I read somewhere and added clearfilter() at the end of the ajax event. But after doing this, if I delete or update any records from the second Datatable, the UI does not get updated with deleted/updated records
Asked
Active
Viewed 214 times
0
-
1Could you please add a [mcve]? – Jasper de Vries Jun 14 '19 at 07:50
-
1and version info – Kukeltje Jun 14 '19 at 08:01
-
I foun the logic between filter() ajax event and clearfilters. If the user filters on any table then before moving on, clearfilters have to be appplied. I applied clearfilters() at every endpoint and now everything else works fine. – user2101 Jun 27 '19 at 20:34