jQWidgets Forums

jQuery UI Widgets Forums Grid Sortable Columns Without Dropdown?

This topic contains 2 replies, has 3 voices, and was last updated by  riegel 12 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Sortable Columns Without Dropdown? #7597

    I want to simplify a little bit by having sortable columns which are still clickable, but not have the drop down menu. Is this possible? If so, how?

    Thanks!

    Sortable Columns Without Dropdown? #7649

    Dimitar
    Participant

    Hello shannonwbrown,

    To remove the menu set the menu property of your columns to false as follows:

                    columns: [
    { text: 'Name', datafield: 'name', width: 250, menu: false },
    { text: 'Beverage Type', datafield: 'type', width: 250, menu: false },
    { text: 'Calories', datafield: 'calories', width: 180, menu: false },
    { text: 'Total Fat', datafield: 'totalfat', width: 120, menu: false },
    { text: 'Protein', datafield: 'protein', width: 120, menu: false }
    ]

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Sortable Columns Without Dropdown? #7697

    riegel
    Member

    Hello,

    Thanks for the answer it worked great.

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

You must be logged in to reply to this topic.