Fix dataframe search and filter functionality (#10757)
* store and update rows with indices value
* clean up search/filter logic and remove duplicate functions
* add changeset
* add make_headers tests
* simplify logic
* lint
* add changeset
* ts fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>