jQuery UI Widgets Forums TreeGrid filter for visible columns only

This topic contains 2 replies, has 2 voices, and was last updated by  Kyvaldenius 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • filter for visible columns only #114938

    Kyvaldenius
    Participant

    Good afternoon, please tell me

    How to disable hidden columns for filtering?

    use
    filterable: true,

    $ (“# treegrid”). jqxTreeGrid (
    {
    height: ‘500’,
    width: ‘100%’,
    source: dataAdapter,
    altRows: true,
    sortable: true,
    filterable: true,
    columnsResize: true,
    theme: ‘energyblue’,
    ready: function () {
    $ (“# treegrid”). jqxTreeGrid (‘expandRow’, 1);
    $ (“# treegrid”). jqxTreeGrid (‘hideColumn’, ‘id’);
    $ (“# treegrid”). jqxTreeGrid (‘hideColumn’, ‘pid’);
    $ (“# treegrid”). jqxTreeGrid (‘setColumnProperty’, ‘Label’, ‘width’, ‘50% ‘);

    },
    columns: [
    {text: ‘id’, dataField: ‘id’},
    {text: ‘pid’, dataField: ‘pid’},
    {text: ‘Label’, dataField: ‘Label’, align: ‘center’}
    });

    filter for visible columns only #114957

    Hristo
    Participant

    Hello Kyvaldenius,

    Please, clarify what do you want to achieve.
    Because you could add filterable: false member to the columns that you do not want to be able to the filtering process.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    filter for visible columns only #114978

    Kyvaldenius
    Participant

    thanks this is just what we needed filterable: false for a specific column

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

You must be logged in to reply to this topic.