Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Changing value of the multiselect option from true to false, the "Select All" box in the header stays still!

No Tags
UserPost

16:46
05/05/2012


mehdone

New Member

posts 1

I have initialized a new grid with "multiselect" option set to true. After initializing the grid, I decide NOT to let the user choose multiple rows based on some input. I do this by


$( "table[id='" + namespace + "']" ).setGridParam({
multiselect:false
});


This removes all checkboxes in all rows but keeps the "Select All" checkbox on the header of the grid. The grid is NOT multiselect anymore but the "Select All" checkbox stands still.


The image below is a screenshot of what I am getting after changing the value of "multiselect"  to false.

15:03
10/05/2012


tony

Sofia, Bulgaria

Moderator

posts 7041

Hello,


This is not a bug.

The more elegent solution is just to hide this column.


The name of this coulmn is "cb


Regards

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

79 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9654

Posts: 28935

Membership:

There are 10346 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7041 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information