简体   繁体   中英

User specific state save in jquery datatable

I am using bStateSave=true to save the current state of the datatable in the page. But the problem is if any other user logs into the page in the same system then his table will have other user's settings like filter, sort etc....

Is there any way in datatable that we can store the datatable state for specific users. If one user logs in then his settings should be used like feature?

You can clear the state when you log in and access the table first time, or when the last user logged out. See https://datatables.net/reference/api/state.clear%28%29

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM