Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

table组件希望能支持单元格点击事件 #240

Closed
pangao66 opened this issue Jan 14, 2022 · 2 comments
Closed

table组件希望能支持单元格点击事件 #240

pangao66 opened this issue Jan 14, 2022 · 2 comments
Labels
💪🏻 enhancement New feature or request to be published fixed, not be published

Comments

@pangao66
Copy link

目前table组件只有row-click 事件 没有cell-click事件,希望能支持
考虑到这种场景 比如需要点击 单元格 复制其内容,每个单元格都需要 这种能暴露出 单元格的点击事件才能方便的实现
希望能像 element一样 提供 cell-click 和cell-dbclick

cell-click 当某个单元格被点击时会触发该事件 row, column, cell, event
cell-dblclick 当某个单元格被双击击时会触发该事件 row, column, cell, event
@uyarn uyarn added the 💪🏻 enhancement New feature or request label Jan 19, 2022
@chaishi
Copy link
Collaborator

chaishi commented Jan 21, 2022

resolved #240 in #297

interface BaseTableCellEventContext<T> { row: T; col: BaseTableCol; rowIndex: number; colIndex: number; e: MouseEvent }

@xiaosansiji xiaosansiji added the to be published fixed, not be published label Jan 21, 2022
@xiaosansiji
Copy link
Collaborator

已在 0.33.2 版本中实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪🏻 enhancement New feature or request to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

4 participants