React-bootstrap-table2: CellEditor Drowpdown give GetOptions() access to row and column props

Created on 25 Jul 2019  Â·  4Comments  Â·  Source: react-bootstrap-table/react-bootstrap-table2

Hi,
I need my getOptions to have access to the Row information so that the dropdown shows options that are only relevant to my object row. Is it possible or does it need an inhancement? (In the meantime I had to create a custom EditorRenderer that takes the row and returns a drop-down with options created based on the row info)

Thanks!

cell-editor help wanted

All 4 comments

@mescoff i will implement it soon, thanks

I also need row and column information in getOptions. I tried using onStartEdit to get the data but then i couldn't wait asynchronously to get the values in getOptions

I fixed in newest version, please upgrade to newest version, thanks
here is release note

doc

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cnav007 picture cnav007  Â·  4Comments

sudravi picture sudravi  Â·  3Comments

saifulss picture saifulss  Â·  4Comments

ethannkschneider picture ethannkschneider  Â·  3Comments

harishkumarreddy12 picture harishkumarreddy12  Â·  3Comments