jQuery UI Widgets Forums Grid Dropdownbutton jqxgrid show selected data

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

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

  • dan123
    Participant

    Hi i am using this dropdownbutton and when you click on it will open jqxgrid. I am trying to make the dropdownbutton have set values based on the selectedrows from the jqxgrid data like ‘Firstname’.

    For example on the jqxgrid, i selected rows 1, 2, 3, and 4

    The dropdownbutton should show the values = Andrew, Jackson, Eliot, Ted, etc
    Basically to show the selections that were made.

    I would appreciate if there is workaround for this thanks

    Here is my jsfiddle:
    https://jsfiddle.net/mq0wg2k9/

    Dropdownbutton jqxgrid show selected data #107909

    Hristo
    Participant

    Hello dan123,

    You could use another method to get all selected row indexes.
    After that with iteration over this array of indexes get information for each one row.
    Then set it as the content of the jqxDropDownButton.
    The method that will be useful here is the getselectedrowindexes method.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.