jQWidgets Forums

jQuery UI Widgets Forums Grid jqxDropDownList and editpopup grid

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 13 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxDropDownList and editpopup grid #4718

    matc1
    Member

    Hello, i’ve new question about jqxDropDownList and editpup up grid.
    I edit a grid row using edit button, in my grid i’ve define a jqxDropDownList field by array.
    My question is how i can set correct DropDownList value when i edit specific row (in edit popup field)?
    I now the value of my DropDownList item but i don’t be able to setting value of DropDownList in popupedit form field.
    Thank’s a lot

    jqxDropDownList and editpopup grid #4719

    matc1
    Member

    I post my editpopup code:

    my jqxDropDownList element on editpopup from is

    so i try

    $(“#navigazione_dropdownlist.div option:selected”).val(dataRecord.field);

    but it’s wrong

    thank’s

    jqxDropDownList and editpopup grid #4739

    Peter Stoev
    Keymaster

    Hi matc1,

    To select an index in the jqxDropDownList, you need to use its ‘selectedIndex’ property and set it to an appropriate index. You can take a look at this sample which demonstrates how to achieve that: defaultfunctionality.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.