Nipuna Nipuna - 4 months ago 50x
jQuery Question

Increase jqgrid multiselect td width

How can I increase the width of the jqgrid multiselect checkbox?


Have you checked this link Checkbox size. According to this there is no way to set size of checkbox in all browsers.

But you may able to change width of checkboxes in webkit browsers hardcoded like this :

 // Put this in jqGrid init to modify checkbox cell width
 gridComplete: function() {

    $("#yourid tbody tr").children().first("td").css("width","50px");

// override checkbox css 
   #yourid input[type="checkbox"] {    
     -webkit-transform: scale(2.0, 2.0)   

Demo :