react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

Event for when edit cell opened

Open trey325 opened this issue 8 years ago • 3 comments

Is there a way to determine or catch the event for when a cell edit box or dropdown is opened? I see before and after save events, but these both appear to fire when you are leaving the input rather than when you are entering it.

This is important for me because I do not want to Ajax refresh the data while someone is editing a box and have them lose their current edits.

Thanks!

trey325 avatar Aug 29 '18 16:08 trey325

Hi @jbcksfrt I will implement a hook which will be called when editor mounting.

AllenFang avatar Sep 01 '18 05:09 AllenFang

Thanks! I will test next week.

trey325 avatar Sep 01 '18 11:09 trey325

RELEASE NOTE

https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/cell-edit-props.html#celleditonstartedit-function

Please upgrade related packages. thanks

AllenFang avatar Sep 03 '18 15:09 AllenFang