jQWidgets Forums

jQuery UI Widgets Forums Grid Grid custom filter dropdown

This topic contains 4 replies, has 2 voices, and was last updated by  paprika0712 9 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Grid custom filter dropdown #81408

    paprika0712
    Participant

    Hi,

    Im working on a jqxgrid based project. I have a column with elements with foreign key value pairs. I’m using filter row(not using filter menu at all), so when i use dropdownlist it fills the list correctly but when i select an element it filters for that key not its value.
    so this is my dropdown filter Dropdownfilter
    and this is the url request. URL

    Im using virtualmode on with pageing. JqxWidget:4.0

    I”ve tried to create a custom filter row but couldnt get it work. Could you maybe explain how filterrow works or link me an example code for that ?

    Grid custom filter dropdown #81433

    ivailo
    Participant

    Hi paprika0712,

    This example illustrates how to use custom filter items in the filter row’s dropdowns.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Grid custom filter dropdown #81453

    paprika0712
    Participant

    I see the example, but i’d like to apply key,value pairs. how can i manage to do the following:
    Filter dropdown have a label and if i click on it it will filter for its value.

    Grid custom filter dropdown #81466

    ivailo
    Participant

    Hi paprika0712,

    In this sample is illustrated how to create a Grid with column which displays values from foreign data source. The DropDownList editor associated to the column is populated from the foreign data source.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    Grid custom filter dropdown #81745

    paprika0712
    Participant

    Thank you! 🙂

    I find the problem. I thought that the filter will return the value of the dropdownadapter, but it return an array with value(the label) and an uid(the actual value).

    So i could manage to make it work.

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

You must be logged in to reply to this topic.