jQuery UI Widgets Forums Grid Hide unwanted Header otions menu

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Hide unwanted Header otions menu #51535

    Ravishankar
    Participant

    Hi Peter,

    Is there any way to hide the options menu of some selected columns.I saw the columnsmenu property in your api,but it disables the menus of all column header.I want to hide some specific column headers.Is there any configuration to achieve this?

    Hide unwanted Header otions menu #51538

    Dimitar
    Participant

    Hello Ravishankar,

    You can achieve this by setting the columns property menu to false, e.g.:

    columns: [
        { text: 'First Name', datafield: 'firstname', width: 90, menu: false },
        { text: 'Last Name', datafield: 'lastname', width: 90 },
        { text: 'Product', datafield: 'productname', width: 170 },
        { text: 'Order Date', datafield: 'date', width: 160, cellsformat: 'dd-MMMM-yyyy', menu: false },
        { text: 'Quantity', datafield: 'quantity', width: 80, cellsalign: 'right' },
        { text: 'Unit Price', datafield: 'price', cellsalign: 'right', cellsformat: 'c2' }
    ]

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.