how can i save datatables state to my database??

how can i save datatables state to my database??

jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

how can i save datatables state to my database??

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @jatin gajera ,

    To that, you'll need to send the state back from the stateSaveCallback function - if you go that page, there's an example doing just that. You would then need a corresponding stateLoadCallback to retrieve that state on table initialisation.

    Cheers,

    Colin

  • jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

    thanks @Colin..

  • jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

    @colin
    what you say about this....

    Navigate through arrow key this feature available or not in datatable ??
    key table not working in example i am not show cell border around the cell in keytable example..please check.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @jatin gajera

    Yep, see the example here. You can see the keys behaving as expected. I did notice though the examples are broken on our website, the JS file is missing - I'll get that fixed first thing this morning.

    Cheers,

    Colin

  • jatin gajerajatin gajera Posts: 60Questions: 23Answers: 0

    yes @colin i see this example...but fix keytable issues As soon as possibal..

    Thanks for your kind replay @colin ..... :smiley:

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    It's not a problem with KeyTable - just the link on the website. As you could see in the example I posted, if you reference the correct libraries it does work...

This discussion has been closed.