kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

Personalize pagesize delete order and hidden columns #161

Closed metola closed 7 years ago

metola commented 7 years ago

Hi Kartik, Since recently, I have find a error in personalize. When I change the pagesize (and press enter) , and I have hidden columns or diferent order in visible columns, it save the pagesize new, but the hidden columns and order visible columns destroy. In the demo gridview, can view the problem: 2 3 4 If move column in hidden column, and apply ,correct, next, press personalize column, focus in pagesize change to other value, and press enter (no button apply), this destroy the columns that I have moved.

kartik-v commented 7 years ago

Need to check this.

kartik-v commented 7 years ago

Cannot reproduce this on the demos page. It seems to work fine. Can you confirm exactly the steps to see reproduce this on the demos page?

metola commented 7 years ago

Ok, I set a video. The principal problem is that if press button Apply, the post parameter 'visibleKeys' set right,but if I press 'Enter' (keyboard) inside input pagesize, the parameter 'visibleKeys' set empty '', and save this, that is not correct. https://youtu.be/vULSKg8eH48