tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.84k stars 1.2k forks source link

Change cell on frozed columns with `setCell()` not working #1002

Closed PaolaRuby closed 2 years ago

PaolaRuby commented 2 years ago

After using setCell() on frozen column, the only way to update value is with reloadGrid, is this an expected behavior?

Example: https://jsfiddle.net/erjfLtg3/ (tested on master too)

tonytomov commented 2 years ago

Yes, currently this is "expected" behavior. This apply not only on saveCell, but ont setRowData, addRowData and delRowData methods.

Hope we will fix this ASAP.

tonytomov commented 2 years ago

Hello,

We have fixed the problem in setCell - https://github.com/tonytomov/jqGrid/commit/08682495c3d47fbd5c372eacc5b336128a92e7c1 . You can test it and let us know if it is working for you.

Thank you Best Regards

PaolaRuby commented 2 years ago

@tonytomov sorry, the same behavior persists with 2021-09-28 https://github.com/tonytomov/jqGrid/commit/08682495c3d47fbd5c372eacc5b336128a92e7c1

https://jsfiddle.net/zup5t6kg/1/

tonytomov commented 2 years ago

Hello,

Thank you. Sorry it was a "last minute" error. It should work now.

Best Regards, T. Tomov

PaolaRuby commented 2 years ago

@tonytomov now it's weird On the example i am changing Header1 col, but setCell places the value on Header2 col, only after reloadGrid everything is fixed Look at this https://jsfiddle.net/pjma05hy/2/

tonytomov commented 2 years ago

Hello Paola, It is really wired.I hope this time it is ok.

Thank you

Best Regards Tony

PaolaRuby commented 2 years ago

It seems that it is already working, thanks