jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Get Category Name

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Get Category Name #70690

    aerials
    Participant

    Hi.

    Is posible to get the category name (or group name) of a selected item? I need to remove a selected item and then return it to the list in the corresponding category. When an item is removed, i send the item label to a grid , but user can undo the action and i need to return the item to the combobox.

    The items and categories are loaded from the database.

    Some idea?

    Regards.

    Get Category Name #70718

    aerials
    Participant

    Hi. I’ve found the wat to get the group name, but when i try to return the item to the combobox it is placed to final of list and not in his category. My source is something like:

    $(“#combobox”).jqxComboBox(‘addItem’, {
    value: value[“id”],
    label: value[“name”],
    group: value[“group”]
    });

    Some idea?

    Regards.

    Get Category Name #70736

    Peter Stoev
    Keymaster

    Hi aerials,

    It’s not possible to regroup items in ComboBox. The grouping is performed during the initialization of the widget.

    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.