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
open link above (or see on the official documentation [https://ant.design/components/table/#components-table-demo-expand] ). And note that first special "[ ] column" hasn't any header.
What is expected?
When designing an "AntD Table expandable" following API on [https://ant.design/components/table/#components-table-demo-expand]
i get a PLUS [ ] icon-button drawn beside the row i want to expand the details for (following the API props like expandable={{expandedRowRender: .... }}
The icon-buttons are put in an autonomous column: i would like customize the column with an explicative ad-hoc Header!
What is actually happening?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)
A terrible (and graphic) solution could be seen with a Header DETAILS on https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83
with an ad-hoc CSS, lacking of elegance and scalability and dangerously connected to the current inner architecture...but you can see the graphic result and test better solutions thanks to CodeSandBox.
Environment Info
antd 4.3.4
React 16.13.1a
System windows 10
Browser chrome 83
What does the proposed API look like?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)
Similarly to
expandIcon Customize row expand Icon. Ref example Function(props):ReactNode -
and coherent to naming like expandIconColumnIndex, I would propose
What problem does this feature solve?
Reproduction link
(https://codesandbox.io/s/l2rdq)
Steps to reproduce
open link above (or see on the official documentation [https://ant.design/components/table/#components-table-demo-expand] ). And note that first special "[ ] column" hasn't any header.
What is expected?
When designing an "AntD Table expandable" following API on [https://ant.design/components/table/#components-table-demo-expand]
i get a PLUS [ ] icon-button drawn beside the row i want to expand the details for (following the API props like expandable={{expandedRowRender: .... }}
The icon-buttons are put in an autonomous column: i would like customize the column with an explicative ad-hoc Header!
What is actually happening?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)
A terrible (and graphic) solution could be seen with a Header DETAILS on
https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83
with an ad-hoc CSS, lacking of elegance and scalability and dangerously connected to the current inner architecture...but you can see the graphic result and test better solutions thanks to CodeSandBox.
Environment Info
antd 4.3.4
React 16.13.1a
System windows 10
Browser chrome 83
What does the proposed API look like?
AntD doesn't provide APIs for customizing the column with an explicative ad-hoc Header (like EXPAND FOR DETAILS)
Similarly to
expandIcon Customize row expand Icon. Ref example Function(props):ReactNode -
and coherent to naming like expandIconColumnIndex, I would propose
See also https://codesandbox.io/s/sleepy-hermann-up8qf?file=/index.css:0-83
The text was updated successfully, but these errors were encountered: