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

bodyItemClassNameFunction should pass item or item index #187

Closed
j-langlois opened this issue Dec 14, 2022 · 3 comments
Closed

bodyItemClassNameFunction should pass item or item index #187

j-langlois opened this issue Dec 14, 2022 · 3 comments

Comments

@j-langlois
Copy link

bodyItemClassNameFunction(column, index)

The second parameter should be itemIndex or the item itself, right now it is passing the column index. Hence, it is not possible to apply a class based on the item's cell content

@HC200ok
Copy link
Owner

HC200ok commented Dec 18, 2022

@j-langlois Thank you for reminding, please update to the latest version 1.5.24, the second parameter will be the row number on the current page.

@j-langlois
Copy link
Author

Thank you! Can you publish it on npm ?

Cheers

@HC200ok
Copy link
Owner

HC200ok commented Dec 20, 2022

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants