Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search on object #569

Closed
AllenFang opened this issue Jul 18, 2016 · 3 comments
Closed

Search on object #569

AllenFang opened this issue Jul 18, 2016 · 3 comments

Comments

@AllenFang
Copy link
Owner

AllenFang commented Jul 18, 2016

#282 (comment)
#282 (comment)

react-bootstrap-table support the column filter and search on formatted cell, you can enable filterFormatted and give dataFormat a format function. But maybe your filtering condition is one of the property in object. In the light of this, I'll support a filterFormat function and let you decide what's actual value you want to be filtered or searched on react-bootstrap-table

Feel free to discuss with me :)

@AllenFang
Copy link
Owner Author

AllenFang commented Jul 25, 2016

@nguyenchanhnghia, I've supported filterValue to let you to decide what value you want to be filtered. check example

Remember to upgrade to v2.3.9. Thanks

@Ethaan
Copy link

Ethaan commented Dec 20, 2016

just wondering, its possible to search everything inside an object?

taking as an example i have this data

{
 username: someUsername,
 profile: {
  extraEmail: someExtraEmail,
  phone: somePhone
 }
}

its possible to search over the whole profile object?

@AllenFang
Copy link
Owner Author

@Ethaan, currently, we only handle the search on a property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants