jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Filtering & Sorting

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Filtering & Sorting #5685

    SRK
    Participant

    Is it possible to remove “Filtering” & “sorting” for some(selected) of the columns in the jqxGrid?.
    which property do we need to use…

    Regards,
    /SRK

    Grid Filtering & Sorting #5689

    Peter Stoev
    Keymaster

    Hi SRK,

    Each column has ‘sortable’ and ‘filterable’ properties which are set to ‘true’ by default. To disable the sorting and filtering for a specific column, set the properties to false.

    Example:

      columns: [
    { text: 'First Name', datafield: 'firstname', sortable: false, filterable: false, width: 100 },
    { text: 'Last Name', datafield: 'lastname', width: 100 },
    { text: 'Product', datafield: 'productname', width: 180 },
    { text: 'Order Date', datafield: 'date', width: 100, cellsformat: 'd' },
    { text: 'Quantity', datafield: 'quantity', width: 80, cellsalign: 'right' },
    { text: 'Unit Price', datafield: 'price', cellsalign: 'right', cellsformat: 'c2' }
    ]

    Best Regards,
    Peter Stoev

    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.