React-virtualized: Question: is there functionality built in to do something like onCellClick() or onCellDblClick()

Created on 9 May 2016  路  3Comments  路  Source: bvaughn/react-virtualized

I need to be able to do _something_ when a user doubleclicks on a cell in a table. I dont see anything documented for this but was wondering if it already exists and is just not documented, or if it can be added in a future release?

question

All 3 comments

Hey Mike,

FlexTable supports an row on-click callback (since you couldn't implement that yourself) but if you want a cell on-click, you would have to just render your cell (and attach the on-click yourself). Does this make sense?

I am very wary to pass through all possible events for a cell because there are a lot of them and a user can always implement it themselves via a custom table cell renderer. Basically just fork this and add on-click behavior. :)

Going to close this as I don't plan on taking any action on it and I like to keep the issues list clean. We can chat more here if you have follow up questions though. :)

holy quick response... thanks @bvaughn .. ill look into forking it and adding a dblClick

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miraage picture miraage  路  4Comments

wnz99 picture wnz99  路  3Comments

athorwall picture athorwall  路  4Comments

clauderic picture clauderic  路  3Comments

hyeminHwang picture hyeminHwang  路  3Comments