Ajax-sourced data not showing active states on reload (see your example)

Ajax-sourced data not showing active states on reload (see your example)

cuspensercuspenser Posts: 21Questions: 6Answers: 0
edited June 23 in StateRestore

Hi Team,

I've noticed an issue in your example page that reflects a similar issue I am having within my own application.

On that page, here are the steps to follow:

  1. Create two or three states.
  2. Select one of the states and you should see that it's highlighted as the active state (checkmark next to the active state)
  3. Reload the page (your saved states should still be present)
  4. Click on one of the states. You should see that it's not highlighted as an active state. (no checkmarks)
  5. Create a new state. You should see that new state is highlighted (has checkmark)
  6. Click one of the other states you created previously, they won't highlight to indicate they're the active state. (no checkmark)
  7. Go back to the state you just created (checkmark is present)

Here is a video of the example page where this is occurring.

Thoughts on how to have DataTables recognize the active state on ajax-sourced data after a page reload?

Thanks,

Tanner

Sign In or Register to comment.