How to clear datalist stored list state

Confluence User - 25 Apr, 2024

Hi

Is there any way to clear the stored list state if "Use session to store list state?" is checked in datalist properties?

For instance, adding a "Clear Filters" button. When the user clicks on it, the datalist returns to its initial state without any filters.


thanks.

datalist;datalists;session

1


26 Apr, 2024
confluenceUser
confluenceUser

Hi,

Good Day!

This feature will retain the value chosen based on these values  >
* all column filter values.
* page size.
* page number position.

Provided that you are still logged on. 

List  settings will be reset to the default. once you are logged off and log in again. 
This is one way > By logging off

Another way that you can try is within the UI Builder. 
Add the list in the UI Builder and add a custom scripting either in the header/footer to enable a button to enable/disable the 'session store list state'.




Hope it helps!...

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print