我有一个 jqxgrid,其列具有 columntype:'checkbox'。我想让复选框的大小更大。我尝试使用类似的javascript
$(".jqx-checkbox-default").children().css("width","19px");
但它不像我应该的那样工作,因为当我选中一个框时,网格中的所有复选框再次变小。我也尝试过使用 cellrenderer:
<div style="position: absolute; top: 50%; left: 50%; margin-top: -7px; margin-left: -10px; cursor: auto;" id="jqxWidget3d79f0d1" tabindex="0" class="jqx-widget jqx-checkbox">
<div class="jqx-checkbox-default jqx-fill-state-normal jqx-rc-all">
<div style="width: 19px; height: 19px;">
<span style="width: 19px; height: 19px;"></span>
</div>
</div>
<div style="clear: both;">
</div>
</div>
但有了这个我无法检查(小部件ID也有问题)。有没有更“正常”的解决方案?
谢谢,亚历克斯