tonytomov / jqGrid

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

multiselect checkbox behavior #816

Closed gitfengjing closed 6 years ago

gitfengjing commented 8 years ago

Dear ALL, There have two problems that I can‘t deal which about Multiselect and Multikey: 1、When Multikey is "ctlkey",and unselect using checkbox doesn't work,how to fix this bug? 2、When row has selected, that I turn page, and the primary selected rows turn to unselected. Who can tell me how to deal with it,if you can show the code? Best regards!

tonytomov commented 8 years ago

Hello,

Which version is used?

  1. This work for me as expected
  2. I can't understand what you mean with this.

Please, try to use the latest stable version.

Kind Regards, Tony

gitfengjing commented 8 years ago

Dear tony, I have used the version is jqGrid 4.6.0("jquery.jqGrid.src.js"),and it is work OK.(When Multikey is "ctlkey", I also can check every rows' checkbox.) but I meet a new problem:my table's column name is chinese,when it transfers the parameter "sidx" by ajax that I get wrong words.So, if you can tell me how to add the function "escape()" before "get/post" jqGrid' self parameters ?It need to edit the file "jquery.jqGrid.src.js" or "jquery.jqGrid.min.js". Thanks. @tonytomov

image

I have just deal with this problem.I use "ajaxGridOptions: {contentType: 'application/json; charset=utf-8'}"

tonytomov commented 6 years ago

This version is too old and is no more supported. Please use the latest one and if the problem persist, please reopen it.