pbeshai / react-taco-table

A table component for React based on column configuration :taco:
http://pbeshai.github.io/react-taco-table/
MIT License
30 stars 7 forks source link

Ability to add custom data tags to rows #43

Closed kieckhafer closed 7 years ago

kieckhafer commented 8 years ago

Is there the ability to add custom data tags, such as data-event-action or data-event-data to a row?

The end goal is to make an entire row clickable, with the data-attribute being used to process the click.

pbeshai commented 8 years ago

I'm not sure I understand exactly. You can pass an onRowClick handler to <TacoTable> -- is that not sufficient for your needs?

See: http://peterbeshai.com/react-taco-table/docs/TacoTable.html