Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我需要使用jQueryUI按钮(或附加按钮)来做什么?我看到fa-fa-times来自很棒的字体。所以默认的searchGrid现在强制使用字体很棒,或者这是一个小错误?发现问题:我将“jQueryUI”添加到iconSet:“jQueryUI”-出于某种_Jquery_Jqgrid_Free Jqgrid - Fatal编程技术网

我需要使用jQueryUI按钮(或附加按钮)来做什么?我看到fa-fa-times来自很棒的字体。所以默认的searchGrid现在强制使用字体很棒,或者这是一个小错误?发现问题:我将“jQueryUI”添加到iconSet:“jQueryUI”-出于某种

我需要使用jQueryUI按钮(或附加按钮)来做什么?我看到fa-fa-times来自很棒的字体。所以默认的searchGrid现在强制使用字体很棒,或者这是一个小错误?发现问题:我将“jQueryUI”添加到iconSet:“jQueryUI”-出于某种,jquery,jqgrid,free-jqgrid,Jquery,Jqgrid,Free Jqgrid,我需要使用jQueryUI按钮(或附加按钮)来做什么?我看到fa-fa-times来自很棒的字体。所以默认的searchGrid现在强制使用字体很棒,或者这是一个小错误?发现问题:我将“jQueryUI”添加到iconSet:“jQueryUI”-出于某种原因,它不是默认值。@Tal:使用jQuery UI图标,它也显示关闭图标。我将把iconSet的默认值从的“fontAwesome”修改为的“jQueryUI”。要使用“fontAwesome”需要包括请参见 $(nameOfGrid).cl


我需要使用jQueryUI按钮(或附加按钮)来做什么?我看到fa-fa-times来自很棒的字体。所以默认的searchGrid现在强制使用字体很棒,或者这是一个小错误?发现问题:我将“jQueryUI”添加到iconSet:“jQueryUI”-出于某种原因,它不是默认值。@Tal:使用jQuery UI图标,它也显示关闭图标。我将把
iconSet
的默认值从
的“fontAwesome”
修改为
的“jQueryUI”
。要使用
“fontAwesome”
需要包括
请参见
$(nameOfGrid).closest(".ui-jqgrid-view").find(".ui-jqgrid-titlebar>.ui-jqgrid-titlebar-close").hide();
    $(nameOfGrid).closest(".ui-jqgrid-view").find(".ui-jqgrid-titlebar>.ui-jqgrid-titlebar-close").after('<button id="' + gridName + 'headerButton" type="button" class="titlebutton" role="button" style="float:right; position:relative; font-size:12px; right:3px;">Collapse</button>');
var $closeButton = $(nameOfGrid).closest(".ui-jqgrid-view").find(".ui-jqgrid-titlebar>.ui-jqgrid-titlebar-close");
$closeButton.css({width: "auto", height: "auto", top: "auto", marginTop: 0, position: "relative", float: "right"});
$closeButton.html('<button type="button" role="button" style="font-size:12px">Collapse</button>');
$closeButton.siblings(".ui-jqgrid-title").css({marginTop: "5px", display: "inline-block"});