tonytomov / jqGrid

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

Problem with Default Search Value #949

Closed unle70 closed 5 years ago

unle70 commented 5 years ago

Hello, I'm testing version 5.4.0 and saw a problem. When defining a default search value for a column: colModel: [ {name: 'col-a', searchoptions: { defaultValue: 'abcd' } } ]

It works OK and the value appears as default for that 'col-a'. If I then change this value and press the 'x' button (to clear the search field) it goes back to the same default value, which is acceptable.

But then I try to push the 'x' button on any OTHER column search field and surprisingly the default value of 'col-a' is set as default in ALL the other columns as well.

I tried checking this in an old fiddle for version 4.6.x and didn't see the same problem there. Now I'm wondering if it's just my environment or a bug in version 5.4.0.

tonytomov commented 5 years ago

Thanks. We already have been notified about this problem. The problem is fixed (see today commit). Please let us know if there is a problem or everything is working as expected

unle70 commented 5 years ago

Thanks Tony. Solved the problem for me.