Select to view content in your preferred language

How to search FeatureTable in JS 4x or Alternative?

662
2
05-06-2021 07:42 AM
by Anonymous User
Not applicable

Is there currently a way you can search a table in the FeatureTable  "esri/widgets/FeatureTable". Something like below would be great to have. Where it is built right into the table. Or am I going to have to add some custom code for this feature. Or would I have to go with a third party table plug in ? If so does anyone have any recommendations ? See (second image )

AdamArcichowski_0-1620311701463.png

I see a lot of these other table plugins like DataTables where they give you the ability to search easily. 

AdamArcichowski_1-1620312002573.png

 

0 Kudos
2 Replies
PL1
by
New Contributor II

Have you found a solution for this? I have the exact same issue.

0 Kudos
PL1
by
New Contributor II

I solved this on my end by creating a new Search widget that alters featuretable's layer's definitionExpression when suggestion starts, is completed,or when search is clear. I then added the new search component to a new element  that is on top of the featuretable.

I hope this helps.

0 Kudos