Is it possible to use stateSave only for Colvis ?

Is it possible to use stateSave only for Colvis ?

Rectec013Rectec013 Posts: 42Questions: 10Answers: 0

hello , i m loocking after a solution how to use stateSave only for Colvis (not for pagination or filter ..)
thanks for reply :)

This question has an accepted answers - jump to answer

Answers

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

    Hi @Rectec013 ,

    This example here should get you going. It's showing how to use stateSave to store additional information. You can in those same functions just erase out the elements of the saved state that you don't wish to save.

    Cheers,

    Colin

  • Rectec013Rectec013 Posts: 42Questions: 10Answers: 0

    thanks Colin for reply .
    Pagination is the only Information that i don t want to save . can u please show me how to do that?
    Josh

  • Rectec013Rectec013 Posts: 42Questions: 10Answers: 0

    Any Ideas :) ?

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

    Yep, as I said, look at the example in the above comment, and then just erase the elements out of the data object that you don't want saved.

This discussion has been closed.