Search function
pilgrim2go opened this issue · 11 comments
Hi,
Thanks for your great app. I'm able to add new model with less effort.
I have some questions
- Do you support
search
functionality?
I can't find any example usingsearch
. I also find that the search flag is commented. - Since I'm very new to
react
, can you give me a guidance to addsearch
to a specific model?
I have one model only so we can accepthard
approach.
Thanks,
Van
Hi Van,
The search is not implemented yet. I would like to upgrade to React 16.5.2 first and it is a big change...
Working on it...
Hi Olivier,
Is it possible to have an estimate for when the Search functionality will be in place?
Thank you,
Costin V.
Sorry, I thought I would find time to finish it. I'll checkin something within a week or 2 but I do not know when it will be really complete.
ok , @evoluteur .
Looking forward to any upgrades as this implementation will be a great enhancement.
Thank you!
I checked-in the search feature. It doesn't include "lov" fields yet but gives you basic search for fields with string values.
Fields that are searched are specified in the models server-side.
Let me know how it's working for you.
I plan to have both search and filters.
Here is my prototype for filters: https://github.com/evoluteur/structured-filter-react
Which says:
React component for structured queries like "Contacts where Firstname starts with 'A' and Birthday before 1/1/2000 and State in (CA, NY, FL)"...
That would not be my choice. I would much prefer (as in Excel and others) to set a condition and sort on each column.
Yes, a filter on each column is very convenient. I would still need the "query builder" style filter for cases where there is no table like in charts (which will use filters) or "saved queries". Ideally I should have both (in addition to search).