jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • ramzendo
    Participant

    Additional info: I just realize that this problem won’t happen in Chrome nor Explorer.


    ramzendo
    Participant

    Hi Peter,

    I understand what autoloadstate and autosavestate do 😉
    Therefore I’m asking if there is something that let me build up the grid again from the beginning.

    Imagine this scenario:

    1.- user messes up with the column reorder.
    2.- user needs to have everything back to normal again.
    3.- user clicks on button to restore grid default settings.

    The user also needs to have the state saved because they need to leave the page and come back again.

    Thanks for your help!


    ramzendo
    Participant

    Hi Peter,

    thanks for your quick response!
    Well, if I remove the autosavestate and autoloadstate parameters, then I will lose this feature where the grid remains with the latest stage.
    I have also tried to destroy de grid and load it again, but it didn’t work either. The grid loads with its last stage.

    According to you, how should I destroy the grid?
    My code was:

    $("#jqxgrid-<?php echo $_POST["selectScenario"] ?>").jqxGrid('destroy');

    Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)