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
Request #2011
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how can we prevent from onRowClick in a customBodyRender column
Suppose we have a button or a select or an input box in the column. Then if we try to access this column it would also call the onRowClick function
Solution:
Can provide event argument in onRowClick() callback
i.e.
onRowClick: function(event: any, rowData: string[], rowMeta: { dataIndex: number, rowIndex: number }) => void
Solution 2:
Can provide the column index argument in onRowClick() callback
i.e. onRowClick: function(rowData: string[], rowMeta: { columnIndex: number, dataIndex: number, rowIndex: number }) => void
The text was updated successfully, but these errors were encountered: