You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
#4010 is a full spec of an utility bar that could be added to EUI tables and datagrids (and is, imho, unlikely to be done for 7.11). This issue is less specific by allowing to inject custom user content between the searchbar and the table (which would be sufficient atm for our needs)
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 astoolsLeft
/toolsRight
forEuiSearchBar
orlabelAppend
forEuiFormRow
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
The text was updated successfully, but these errors were encountered: