-
Notifications
You must be signed in to change notification settings - Fork 775
Issues of table search #282
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
Comments
@liqili, I'll check this out. Thanks :) |
@AllenFang Thanks very much.Regarding issue 2,I think it's not a problem if I can get the record sets displayed in the screen. |
@liqili, for issue 2, you can try this: var options = {
//...
afterSearch: function(searchText, result) {
//result is the data which filtered
}
}
//...
<BootstrapTable options={options}> |
@AllenFang Fine.Thank you! |
@liqili, if work, please let me know :) |
@AllenFang Thanks,It satisfied my requirements. |
Great, I will fix issues 1 |
For issues 1, I've fixed it and released on v1.5.2 |
Maybe list a good example for those using ES6 linting, in your docs:
Then, the afterSearch function to do whatever it is you want:
|
@chriscostello9, thanks your feedback. I'll improve my document in near future :) |
@AllenFang I've read the source code, the |
@waiter, I think it's hard to search on an object. But if I make the searching on hidden column configurable, is that helpful for you? |
@waiter, btw, your case is common, if you really need a object can be searched, A customization search can achieve your requirement. I mean just handle search and state outside the |
@AllenFang |
@waiter, I think I can add this feature in near future.
yes, after searching, just render new props data on table |
@AllenFang |
@AllenFang |
I made a big mistake, I will solve this issue quickly. Thanks |
@AllenFang |
@AllenFang |
hi all. I have a issue of search table. search is not working when data of cell is object. How to search realizable? |
@nguyenchanhnghia, sorry for lately reply, I've opened #569 and have a plane to deal with it. |
I have found some issues about Table Search functionality.
1.The search key matched the hidden column.
2.I met problems following the below steps.
a.SelectAll records
b.Search by some condition.Some records are filtered.
c.I still get all records including filtered records when submitting to backend .
The text was updated successfully, but these errors were encountered: