gregnb / gregnb/mui-datatables

use object in filterOptions

Open
#899 3 comments 0 reactions 0 assignees View on GitHub
needs verification question
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Hello,

Because the data of my row is an object, i would like to display a specific field in the filter.

Exemple of data:
`{id:2,name:"Georges Lukas"}`

how can i only render the attribut 'name' of my object both in filterOptions (names) and in customFilterListRender.

is there any way to pass parameter (list of Value) to filterOptions (names) ?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.