elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.12k forks source link

[Unified Data Table] Remove old API for providing control columns and replace with `customControlColumnsConfiguration` #176239

Open davismcphee opened 7 months ago

davismcphee commented 7 months ago

Follow up to #175872.

The old Unified Data Table API for providing custom control columns was a bit inflexible and didn't provide a way to access the default control columns, which is required for some usages. To address this, a new API was introduced that uses a customControlColumnsConfiguration callback for retrieving custom control columns, and also provides access to the default control columns. This API is more flexible and extensible, allowing for a additional parameters to be added later if needed.

This issue is to cover removing the old externalControlColumns and trailingControlColumns props from Unified Data Table, and replacing any existing usages with the customControlColumnsConfiguration callback.

elasticmachine commented 7 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)