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
Is your feature request related to a problem? Please describe.
When rendering a table using fitData, I am manually setting all columns' minWidth to table.clientWidth / columns.length. This essentially combines fitColumns and fitData functionality, with the greater of the two calculations being prioritized for the column width.
This solution is fairly clean with one exception- I cannot resize the columns to be smaller than the minWidth, which is not my intended functionality.
Describe the solution you'd like
Implement the a minInitialWidth column layout option which complements maxInitialWidth:
columns=[{
...
minInitialWidth: // value in px,
...
},
...
]
with the following description:
sets the minimum width of this column when it is first rendered, the user can then resize to below this (down to the minWidth, if set) this should be set in pixels
Describe alternatives you've considered
Alternatively, a new layout mode could be introduced that merges the fitColumns and fitData/fitDataFill (eg. fitColumnsData/fitColumnsDataFill) that always fills the table, but still adheres to the minWidth constraints of fitData.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When rendering a table using
fitData
, I am manually setting all columns'minWidth
totable.clientWidth / columns.length
. This essentially combinesfitColumns
andfitData
functionality, with the greater of the two calculations being prioritized for the column width.This solution is fairly clean with one exception- I cannot resize the columns to be smaller than the
minWidth
, which is not my intended functionality.Describe the solution you'd like
Implement the a
minInitialWidth
column layout option which complementsmaxInitialWidth
:with the following description:
Describe alternatives you've considered
Alternatively, a new layout mode could be introduced that merges the
fitColumns
andfitData
/fitDataFill
(eg.fitColumnsData
/fitColumnsDataFill
) that always fills the table, but still adheres to the minWidth constraints offitData
.The text was updated successfully, but these errors were encountered: