jQWidgets Forums

jQuery UI Widgets Forums Grid Disable filters (but keep initial filtered data) while editing rows

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 4 months ago.

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

  • lucasgraf
    Participant

    I am looking for a way to do the following.

    We have a grid and 1 column has cells that are of a dropdown type with values of say Untested, Fail, Pass.
    We have column filters enabled for this column and the scenario is the following :
    The user will initially set the filter to “Untested” to only see untested rows and then they want to go in and mark Pass/Fail plus set values in a couple other cells in that row. However, since they have the filter set to “Untested” if they select Fail from the dropdown that row is instantly hidden and they can’t enter the other required data.

    Is there a way to keep the untested filter applied on the initial data, but then once the user starts editing cells don’t apply the filter any more?


    Hristo
    Participant

    Hello lucasgraf,

    You could use the options to add one additional column that will be hidden (hidden: true). It will be used as a ‘metadata’.
    The “Untested” value will be visible by default into the main column.
    In that and other columns, the filtering should be disabled by setting this filterable: false member in that particular column.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.