EuiInMemoryTable does not allow to inject content between the search bar and the table components.
In some cases, consumers may need to add an additional section of controls in-between
Adding an additional property to the EuiInMemoryTable props to allow to prepend arbitrary react elements before the table, like it is commonly done for many EUI components, such as toolsLeft / toolsRight for EuiSearchBar or labelAppend for EuiFormRow would answer this need.
related code: https://github.com/elastic/eui/blob/master/src/components/basic_table/in_memory_table.tsx#L678-L683
Context: for Kibana's SavedObjects tagging feature, it is expected to have the number of selected items and the batch actions between the search bar and the table. Implementing this would allow us to be able to use EuiInMemoryTable for that instead of reimplementing most of its features just to separate the searchbar from the table.
cc @ryankeairns
EuiInMemoryTabledoes not allow to inject content between the search bar and the table components.In some cases, consumers may need to add an additional section of controls in-between
Adding an additional property to the
EuiInMemoryTableprops to allow to prepend arbitrary react elements before the table, like it is commonly done for many EUI components, such astoolsLeft/toolsRightforEuiSearchBarorlabelAppendforEuiFormRowwould answer this need.related code: https://github.com/elastic/eui/blob/master/src/components/basic_table/in_memory_table.tsx#L678-L683
Context: for Kibana's SavedObjects tagging feature, it is expected to have the number of selected items and the batch actions between the search bar and the table. Implementing this would allow us to be able to use
EuiInMemoryTablefor that instead of reimplementing most of its features just to separate the searchbar from the table.cc @ryankeairns