EasyUI Field

效果:

JS:

var sortIndex = $("#ListDiv").find(".datagrid-view2").find(".datagrid-header-row").find("td").eq(8).find("span").eq(1);
        sortIndex.removeClass("datagrid-sort-icon");
        sortIndex.addClass("datagrid-sort-icon2");

css:

.datagrid-sort-icon2{background:url(../images/upDownIcon.png) no-repeat 0 0;width:15px;height:9px;display:inline-block; left: 3px;position: relative;top: 0;+top:-2px;top:2px;cursor:pointer;}
原文地址:https://www.cnblogs.com/8090sns/p/3178464.html