stateRestore : how to hide the toggle options on the modal

stateRestore : how to hide the toggle options on the modal

MelodyNelsonMelodyNelson Posts: 213Questions: 33Answers: 2

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Hi,

I'm using stateRestore extension with the option to show a modal when a state is created.

How can I hide all options of the toggle config ?

The options should be selected by default but hidden to the users.

https://datatables.net/reference/type/stateRestoreConfig

If I don't add togglein the config, it works well but I still have the row in the form :

I was hoping a special class (css) for the row with the options I could hide but the same class is used for the 2 rows of the form.

Thanks for your help

Sign In or Register to comment.