You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using react-bootstrap-table with redux and would be great if it provides "index" parameter in "beforeSaveCell" and "afterSaveCell" callbacks for cell editing. To workaround it, I had to put a aditional "index" field in my data, but requires me to do a map() always data is inserted or removed from my collection.
The text was updated successfully, but these errors were encountered:
@AllenFang Thanks for reply. For my specific case, I need row index (just like you can get it in custom column render). When a cell is edited I dispatch an action to my reducer and I need to inform which row was modified. You can consider add other params (like "extra" or "columnIndex", or even a "meta" object grouping all this additional info)
I'm using react-bootstrap-table with redux and would be great if it provides "index" parameter in "beforeSaveCell" and "afterSaveCell" callbacks for cell editing. To workaround it, I had to put a aditional "index" field in my data, but requires me to do a map() always data is inserted or removed from my collection.
The text was updated successfully, but these errors were encountered: