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

Cell edit issue

Open eclipse88 opened this issue 10 years ago • 10 comments

I'm listening to a socket for new data to update the table, data is coming at an interval of 5 sec and if i'm in edit mode the component is rendering and i lose the data if updating process is not completed.How to update the table, without losing the value from editing cell?

eclipse88 avatar Sep 22 '16 19:09 eclipse88

@eclipse88, sorry for lately reply.. busy on work. How do you update the react-bootstrap-table?

AllenFang avatar Sep 27 '16 05:09 AllenFang

hi, no problem.I use redux for update the store and pass the rows like a prop to this component

eclipse88 avatar Sep 27 '16 06:09 eclipse88

there is a possibility for partial update, not to render all table, maybe a row or a cell from the table?

eclipse88 avatar Sep 27 '16 06:09 eclipse88

there is a possibility for partial update, not to render all table, maybe a row or a cell from the table?

I think it's possible(80%), but in my opinion, it's very complicated to implement.

AllenFang avatar Sep 27 '16 08:09 AllenFang

@eclipse88, I'll fix it in next version :)

AllenFang avatar Sep 27 '16 08:09 AllenFang

Fixed on v2.5.4. Check this out

AllenFang avatar Sep 27 '16 12:09 AllenFang

thank you for your effort,now it's working great

eclipse88 avatar Sep 27 '16 15:09 eclipse88

Hey so, what exactly was done here? It seems like functionality was removed, not added? I'm on v2.5.5 and am encountering the same issue that was supposedly resolved here.

In-flight edits are blown away by new state changes, even when they don't affect the tables data.

riguy724 avatar Oct 11 '16 14:10 riguy724

@riguy724, how about describe your scenario step by step? Thanks

AllenFang avatar Oct 12 '16 16:10 AllenFang

hey I lost this ticket. I was on an outdated version of things, working now :) Thanks!

riguy724 avatar Oct 12 '16 16:10 riguy724