How do I view all my data in a table instead of json

Here's another post where I talk a bit about customizing views: Reference UI - how to modify what's displayed (React newbie)

Also, see the "headless" example from the main page. You can access the raw array of results and do whatever you'd like with it: https://github.com/elastic/search-ui#creating-a-search-experience

<SearchProvider config={config}>
  <WithSearch
    mapContextToProps={({ results }) => ({
      results
    })}
  >
    {({ results }) => {
      return (
        <div>
          {results.map(r => (
            <div key={r.id.raw}>{r.title.raw}</div>
          ))}
        </div>
      );
    }}
  </WithSearch>
</SearchProvider>
1 Like