-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Table添加rowClick事件 #1366
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
Comments
customRow 用法适用于 customRow customHeaderRow customCell customHeaderCell。遵循Vue jsx语法。
|
nice |
Not sure if this is the right way to handle simple clicks, as it will create one function closure for every row. If there are hundreds of rows in the table, then you are essentially creating one While abstracting the functionality into simple modules, such as |
这么基础的一个功能居然没有!!! |
单击行选择本行数据!!! |
I don't use JSX. Is there a way to achieve this without it? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What problem does this feature solve?
当用户点击整行的时候,可以触发一些东西(例如弹出详情的窗口)
What does the proposed API look like?
事件为:rowClick。
参数为:row(当前行的数据), index(当前行的序号)
The text was updated successfully, but these errors were encountered: