jQuery UI Widgets Forums Grid Filter save state duplication validation

This topic contains 3 replies, has 2 voices, and was last updated by  raj 10 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • raj
    Participant

    Hi,
    In grid, Save the current filter settings (single/multiple columns) in localstorage and i newly perform another filterable option that values also stored in localstorage. Here i need to check filterable duplication ie., whether that filterable is already available in localstorage or not.

    Regards,
    Raj.


    Peter Stoev
    Keymaster

    Hi Raj,

    saving the Grid’s state, replaces its previously saved state in the storage. If you wish, don’t save its state, get it using the “getsate” and store it somewhere else.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    raj
    Participant

    Hi peter Stoev,

    Thanks for your replay.
    consider my scenario is,
    1) I saved the grid state(Here i done filterable options on grid) using “savestate” property, this state is stored in variable(ex.: var first = $(gridid).jqxGrid(‘savestate’)).
    2) Again iam saving grid state(Here i can do some other / same filterable option) using “savestate” property, this state is stored in another vairable(ex.: second= $(gridid).jqxGrid(‘savestate’)).
    3) Finally i need to compare
    if(first == second)
    alert(‘true’);
    else
    alert(‘false’);


    raj
    Participant

    Hi Peter Stoev,
    As i attached my problem scienario with this URL “http://s12.postimg.org/jy0y325fx/Filter.jpg”. I need to check two filter state duplication. Please help to resolve this issue.

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

You must be logged in to reply to this topic.