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

Select All Row #125

Closed
galmerco opened this issue Apr 10, 2015 · 3 comments
Closed

Select All Row #125

galmerco opened this issue Apr 10, 2015 · 3 comments

Comments

@galmerco
Copy link

Hello,

Are there any options if I need select all the row just clickin in any column?

Thanks in advance.

@galmerco
Copy link
Author

Are there any options?? I would like to mark the row and get all items in the same row.

Plz.

@bjrmatos
Copy link

Same question here..

when i click a row i want to add a class to the tr element for style purposes

Desired effect:

selected-row-class

in #101 i've found that griddle has a customRowMetadata prop but still don't clear to me how to use that. @joellanciaux any ideas?

@ryanlanciaux
Copy link
Member

Hi there! You can now pass in a customTableRowComponent from the repo version of Griddle (and soon npm) -- please see #134 for a brief example on how to implement this before we get this all added to documentation.

The thought is you can have the new component call out to your methods. It receives data and rowData props where data is the data for the filtered columns and rowData is all the data for the current row.

The names on the custom components are likely going to change to be a little less confusing (customRowComponent / customRowTableComponent is a bit confusing) but there should be a clean upgrade path :)

I'm going to close this for now but please let me know if you encounter any problems with this functionality.

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

3 participants