How to clear ADP table sorting
Summary:
Hi,
How do we clear sorting on ADP based table
Content (required):
Use case
1 - I am fetching emp data in a sorted order based on id column in desc order on fetch Emp button click to show on UI.
2 - User sorts the data on id column in ascending order on UI.
3 - user resets the data by clicking reset button. Table data is cleared but sorted icon on id column still shows as ascending.
4 Now when user clicks again on fetch Emp button, it shows the data in ascending order only even though the Rest service is giving data in ascending order. Expectation is to show data in Descending order as returned by Rest service
Tagged:
1