We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to clear ADP table sorting

Received Response
11
Views
1
Comments

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!