0

In JQGRID, I increased the row size of my table by doing this in the CSS file:

.ui-jqgrid tr.jqgrow td input { padding: 0px; height: 60px;}

Since I have multiselect: true, how can I make the checkboxes to auto-fit the row size on all the grid (including header)?

I tried this answer which is working for the header but not able to reproduce it for the rest of the grid: How to increase jqgrid header checkbox size

So far they are way to small...

Thanks

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Nico44044
  • 125
  • 8

2 Answers2

1

Try adding these styles to the checkboxes, you can do it after creating the grid this way:

$("td input[type='checkbox']").css("height","100%").css("width","100%");
jcarrera
  • 1,007
  • 1
  • 16
  • 23
  • In wich part of the code please ? – Nico44044 Aug 17 '23 at 17:18
  • it's working on safari iOs , Firefox and Edge but NOT on safari for mac ... I emptied the cache and the cookies but still not working. Any Idea ? It's strange because the checkboxes are huge on iOs and Edge but just a little bigger on firefox . Do you know how to make them the same on all browsers ? – Nico44044 Aug 17 '23 at 21:08
1

Thanks to jcarrera's answer, I finally made it by doing this with css (working with all browsers so far) :

input[type="checkbox"] {
        -webkit-transform: scale(2, 2);
    }
Nico44044
  • 125
  • 8