Tulika
Tulika

Reputation: 35

Filter in aggrid

Is there a way to get Filter like Excel in aggrid - enter image description here

Upvotes: 0

Views: 141

Answers (2)

Idris
Idris

Reputation: 391

Yes we have an option to filter like excel.

1, you should purchase enterprise edition 2, there are two option in filter. One is windows like excel and other is mac like excel.

const gridOptions = {
    columnDefs: [
        {
            field: 'animal',
            filter: 'agSetColumnFilter',
            filterParams: {
                // can be 'windows' or 'mac'
                excelMode: 'windows',
            },
        }
    ],

   // other grid options ...
}

You can find more details in the documentation.

Upvotes: 0

Fletch
Fletch

Reputation: 907

Yes, but you have to pay for the Enterprise version.

https://www.ag-grid.com/react-grid/filter-set-excel-mode/

Upvotes: 0

Related Questions