-
-
Notifications
You must be signed in to change notification settings - Fork 618
Closed
Description
目前的 onRowClick 粒度控制在整行,但是无法精确到具体的 column 以及 expandIcon 这些更小力度上(需要用户自己根据 SyntheticMouseEvent 来判断
业务场景是,类似 加载树形结构数据 这种,但需要在点击 expandIcon 是加载自己的 children 元素
有无必要给 onRowClick 增加一个参数,来描述具体点击到的 column ?
初步想法是分析 SyntheticMouseEvent.target.attributes 的 react-id 来确定 column,再根据 rc-table 设置的 key 来确定是否是 expandIcon 这些更深层次的 target
Metadata
Metadata
Assignees
Labels
No labels