jQWidgets Forums

jQuery UI Widgets Forums Grid Showfilterrow without footer in datapicker

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

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

  • scamiros
    Participant

    Hi,
    can I remove the footer (Today and Clear) in the dropdown combolist, in the rowfilter inside grid?
    Thanks in advance


    Dimitar
    Participant

    Hello scamiros,

    You can achieve this with the createfilterwidget callback function, e.g.:

    columns: [
        { text: 'Name', columntype: 'textbox', filtertype: 'textbox', filtercondition: 'starts_with', datafield: 'name', width: 215 },
        {
            text: 'Product', filtertype: 'checkedlist', datafield: 'productname', width: 220
        },
        { text: 'Available', datafield: 'available', columntype: 'checkbox', filtertype: 'bool', width: 67 },
        { text: 'Ship Date', datafield: 'date', filtertype: 'date', width: 210, cellsalign: 'right', cellsformat: 'd',
            createfilterwidget: function (column, columnElement, widget) {
                widget.jqxDateTimeInput({ showFooter: false });
            }
        },
        { text: 'Qty.', datafield: 'quantity', filtertype: 'number', cellsalign: 'right' }
    ]

    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.