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
As a follow-up to #653, we could support multiple display names for a column and display the longest name that fits in the current width.
A few questions
Do we show the column name or display name in the column statistics? Which display name if we use display name?
Should copy values unformatted include the actual column name and copy formatted include the currently shown display name?
To implement this we will need to make some adjustments to GridRenderer. Either need to modify drawColumnHeader so it gets info about which column is being drawn (could be breaking). Or we could try adding a 3rd prop like getAllDisplayNames to GridModel.textForColumnHeader and then modify the appropriate places in GridRenderer to pass that prop. We will then need to cache truncation of the names and pick the longest fitting name.
The text was updated successfully, but these errors were encountered:
As a follow-up to #653, we could support multiple display names for a column and display the longest name that fits in the current width.
A few questions
To implement this we will need to make some adjustments to
GridRenderer
. Either need to modifydrawColumnHeader
so it gets info about which column is being drawn (could be breaking). Or we could try adding a 3rd prop likegetAllDisplayNames
toGridModel.textForColumnHeader
and then modify the appropriate places inGridRenderer
to pass that prop. We will then need to cache truncation of the names and pick the longest fitting name.The text was updated successfully, but these errors were encountered: