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

[DataTable] - expose selected slot prop #1672

Open
theetrain opened this issue Feb 27, 2023 · 0 comments
Open

[DataTable] - expose selected slot prop #1672

theetrain opened this issue Feb 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@theetrain
Copy link
Collaborator

theetrain commented Feb 27, 2023

DataTable currently has let:cell and let:row, and a couple of undocumented slot props let:rowIndex and let:cellIndex.

I propose adding a new let:selected or let:selectedRow slot prop to the cell slot that can help determine if the current row is selected.

As per #1621 name conventions.

We should also show slot prop information on our docs, to be handled in #1671.

@theetrain theetrain added the enhancement New feature or request label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant