<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[杰的个人博客]]></title> 
<atom:link href="http://www.langyitechnology.com/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[根植于内心的修养，无需提醒的自觉，以约束为前提的自由，为别人着想的善良]]></description>
<link>http://www.langyitechnology.com/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
    <title>inCombobox、initCombobox例子</title>
    <link>http://www.langyitechnology.com/?post=26</link>
    <description><![CDATA[<pre><code class="language-javascript">/**
 * 
 */
function addSelect(sStr,divId){
    var slect={
            selectName:sStr 
    }
    $.ajax({
        type :"post",
        url : "getSelect.action",
        data :  slect,
        dataType : "json",
        success : function(data) {
            var obj = JSON.parse(data);
            var htmlSelect =  "&lt;select id='"+divId+"T' style='width:123px'&gt;";
            for(var i =0;i&lt;obj.length;i++){
                htmlSelect = htmlSelect +   "&lt;option value ='"+obj[i].selectValue+"'&gt;"+obj[i].selectText+"&lt;/option&gt;";
            }
            htmlSelect = htmlSelect +   "&lt;option value =''&gt;&lt;/option&gt;";
            htmlSelect = htmlSelect + "&lt;/select&gt;";
            $("#"+divId).append(htmlSelect);
            },
        error : function() {
            alert('加载失败');

        }
    });
}
function addSelectnotNull(sStr,divId){
    var slect={
            selectName:sStr 
    }
    $.ajax({
        type :"post",
        url : "getSelect.action",
        data :  slect,
        dataType : "json",
        success : function(data) {
            var obj = JSON.parse(data);
            var htmlSelect =  "&lt;select id='"+divId+"T' style='width:123px'&gt;";
            for(var i =0;i&lt;obj.length;i++){
                htmlSelect = htmlSelect +   "&lt;option value ='"+obj[i].selectValue+"'&gt;"+obj[i].selectText+"&lt;/option&gt;";
            }
            htmlSelect = htmlSelect + "&lt;/select&gt;";
            $("#"+divId).append(htmlSelect);
            },
        error : function() {
            alert('加载失败');

        }
    });
}
function testP(hd){
    console.log(JSON.stringify(hd))
}
function initCombobox(id,code,isX){
    $.ajax({
        type : "post",
        url : 'getSelect.action?selectName='+code,
        data :  {},
        dataType : "json",
        success : function(data) {
            var obj = JSON.parse(data);
            $('#'+id).combobox({
                data:obj,
                method:'post',
                panelHeight:200,//设置为固定高度，combobox出现竖直滚动条
                valueField:'selectValue',
                textField:'selectValue',
                multiple:true,
                formatter: function (row) { //formatter方法就是实现了在每个下拉选项前面增加checkbox框的方法
                   var opts = $(this).combobox('options');
                return '&lt;input type="checkbox" class="combobox-checkbox"&gt;' + row[opts.textField]
                },
                onLoadSuccess: function () {  //下拉框数据加载成功调用
                    var opts = $(this).combobox('options');
                    var target = this;
                    var values = $(target).combobox('getValues');//获取选中的值的values
                    $.map(values, function (value) {
                        var el = opts.finder.getEl(target, value);
                        el.find('input.combobox-checkbox')._propAttr('checked', true); 
                    });
                },
                onSelect: function (row) { //选中一个选项时调用
                    var opts = $(this).combobox('options');
                    //获取选中的值的values
                    $("#"+id).val($(this).combobox('getValues'));

                    //设置选中值所对应的复选框为选中状态
                    var el = opts.finder.getEl(this, row[opts.valueField]);
                    el.find('input.combobox-checkbox')._propAttr('checked', true);
                },
                onUnselect: function (row) {//不选中一个选项时调用
                    var opts = $(this).combobox('options');
                    //获取选中的值的values
                    $("#"+id).val($(this).combobox('getValues'));

                    var el = opts.finder.getEl(this, row[opts.valueField]);
                    el.find('input.combobox-checkbox')._propAttr('checked', false);
                }
            });
            if(isX=='true'){
            $("#"+id).combobox('setValues', obj[0].selectValue)
            }
        },
        error : function() {
            alert("系统异常，请稍后重试！");
        }
    }); 

};
function inCombobox(id,code,isX){
    $.ajax({
        type : "post",
        url : 'getSelect.action?selectName='+code,
        data :  {},
        dataType : "json",
        success : function(data) {
            var obj = JSON.parse(data);
            var value = "";
            //加载下拉框复选框
            $('#'+id).combobox({
                data:obj,
                method:'post',
                panelHeight:200,//设置为固定高度，combobox出现竖直滚动条
                valueField:'selectValue',
                textField:'selectValue',
              });
            if(isX=='true'){
            $("#"+id).combobox('setValues', obj[0].selectValue)
            }
        },
        error : function() {
            alert("系统异常，请稍后重试！");
        }
    }); 

};
function inCombobox2(id,code,isX){
    $.ajax({
        type : "post",
        url : 'getSelect.action?selectName='+code,
        data :  {},
        dataType : "json",
        success : function(data) {
            var obj = JSON.parse(data);
            var value = "";
            //加载下拉框复选框
            $('#'+id).combobox({
                data:obj,
                method:'post',
                panelHeight:200,//设置为固定高度，combobox出现竖直滚动条
                valueField:'selectValue',
                textField:'selectText',
              });
            if(isX=='true'){
            $("#"+id).combobox('setValues', obj[0].selectValue)
            }
        },
        error : function() {
            alert("系统异常，请稍后重试！");
        }
    }); 

};
function inComboboxJSON(id,code,isX){
    $.ajax({
        type : "post",
        url : 'jsp/json/'+code+".json",
        data :  {},
        dataType : "json",
        success : function(data) {
            var value = "";
            //加载下拉框复选框
            $('#'+id).combobox({
                data:data,
                method:'post',
                panelHeight:200,//设置为固定高度，combobox出现竖直滚动条
                valueField:'selectValue',
                textField:'selectText',
              });
            if(isX=='true'){
            $("#"+id).combobox('setValues', data[0].selectValue)
            }
        },
        error : function() {
            alert("系统异常，请稍后重试！");
        }
    }); 

};
</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:23:07 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=26</guid>
</item>
<item>
    <title>easyui下拉框代码块</title>
    <link>http://www.langyitechnology.com/?post=25</link>
    <description><![CDATA[<pre><code class="language-javascript">下拉框设置
function inCombobox(id, url, valuefield,textfield) {
    $.ajaxSettings.async = false;
    $.ajax({
        type: "post",
        url: url,
        data: {},
        dataType: "json",
        success: function (data) {
            //var obj = JSON.parse(data);
            var value = "";
            //加载下拉框复选框
            $('#' + id).combobox({
                data: data.data.DT,
                method: 'post',
                panelHeight: 200,//设置为固定高度，combobox出现竖直滚动条
                valueField: valuefield,
                textField: textfield,
            });
        },
        error: function () {
            alert("系统异常，请稍后重试！");
        }
    });
    $.ajaxSettings.async = true;
}
$('#tano').combobox({
    onChange: function (newValue, oldValue) {
        SeachData_4043();
    }
});
</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:21:50 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=25</guid>
</item>
<item>
    <title>复制代码</title>
    <link>http://www.langyitechnology.com/?post=24</link>
    <description><![CDATA[<p>常复制的代码<br />
1）设置easyui控件的背景色代码：$('#visitdate').datebox('textbox').css('background', '#E4FFC0')</p>
<p>2）C#项目前端快捷方式引用示例代码</p>
<p>function Base_UserLst1(Eventstr) {<br />
EasyLib.Ctl.SearchTxt({<br />
$CountValArr: [Eventstr],<br />
$CountKeyArr: [$(&quot;.usercode1&quot;)],<br />
$DomArr: [$(&quot;.usercode1&quot;), $(&quot;.username1&quot;)],//需要绑定的文本框1<br />
FieldArr: [&quot;usercode&quot;, &quot;username&quot;],//文本框1得到的字段值<br />
WinUrl: EasyLib.Url.GetRootPath(2) + &quot;/Base/BaseCon/Page/20081?&quot;,<br />
AjaxUrl: EasyLib.Url.GetRootPath(2) + &quot;/SysAdmin/SysAdminCURD/GetSysAdminUser?formdbid=90000&amp;usercode=&quot;,<br />
});<br />
}</p>
<p>3)$.messager.confirm('提示框', '你确定要删除吗?',function(){}) easyui确定提示框</p>
<p>4)$.messager.prompt('生产排程号', '为了更好的鉴定你每一次导入的订单号，要求导入、输入独特的排产号', function (r) {<br />
if (r) {<br />
alert('生产排程号:' + r);<br />
}<br />
});<br />
var curscheid = EasyLib.Cookies.Get(&quot;SWT_usercodeCN&quot;) + EasyLib.Date.Get();<br />
$(&quot;.messager-input&quot;).val(curscheid)</p>
<p>5)防止非数字字符输入 onkeyup=&quot;this.value=this.value.replace(/[^\d]/g,'')&quot;</p>
<p>表格初始化函数<br />
initdatahd(tableid, url, height, checkrowed, selectrowed, sumfields, sort, order)；<br />
initdatadt(tableid, url, params, height, pageLists, sort, order, checkrowed, selectrowed, IsSelectyn)；<br />
initdetaildata(tableid, url, params, height, selectyn, pageLists, checkrowed, selectrowed,sort, order)；<br />
//绑定数据换行<br />
initdataRow(tableid, url, height,pagelists, selectyn, checkrowed, selectrowed, sumfields, sort, order)；<br />
//绑定数据hd<br />
function initdata(tableid, url, height, pagelist, params, selectyn, sumfields, groupfields, sort, order, checkrowed, selectrowed,onclickrow)；<br />
下拉列表设置<br />
function inCombobox(id, url, valuefield,textfield) {<br />
$.ajaxSettings.async = false;<br />
$.ajax({<br />
type: &quot;post&quot;,<br />
url: url,<br />
data: {},<br />
dataType: &quot;json&quot;,<br />
success: function (data) {<br />
//var obj = JSON.parse(data);<br />
var value = &quot;&quot;;<br />
//加载下拉框复选框<br />
$('#' + id).combobox({<br />
data: data.data.DT,<br />
method: 'post',<br />
panelHeight: 200,//设置为固定高度，combobox出现竖直滚动条<br />
valueField: valuefield,<br />
textField: textfield,<br />
});<br />
},<br />
error: function () {<br />
alert(&quot;系统异常，请稍后重试！&quot;);<br />
}<br />
});<br />
$.ajaxSettings.async = true;<br />
}<br />
$('#tano').combobox({<br />
onChange: function (newValue, oldValue) {<br />
SeachData_4043();<br />
}<br />
});<br />
easyui 设置表头过长字段换行<br />
.datagrid-header-row .datagrid-cell span {<br />
white-space: normal !important;<br />
word-wrap: normal !important;<br />
}</p>]]></description>
    <pubDate>Tue, 27 May 2025 16:20:19 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=24</guid>
</item>
<item>
    <title>easyui表格属性设置</title>
    <link>http://www.langyitechnology.com/?post=23</link>
    <description><![CDATA[<pre><code class="language-javascript">表格设置冻结列：
&lt;thead data-options="frozen:true"&gt;
&lt;/thead&gt;
表格头设置表格属性自动换行
data-options="nowrap:false"
前端页面对json数据分页并显示eaui表格：
$('#datas').datagrid({
    loadFilter:pagerFilter,
    pageSize:100,
    height:parent.$("#indexx-Tab").height()-$("#headtitle").height()-80,
    pageList:[100,50,30,20,10,1000],
}).datagrid('loadData', obj);
easyui 设置表头过长字段换行
.datagrid-header-row .datagrid-cell span {
    white-space: normal !important;
    word-wrap: normal !important;
}</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:18:07 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=23</guid>
</item>
<item>
    <title>layer弹窗</title>
    <link>http://www.langyitechnology.com/?post=22</link>
    <description><![CDATA[<p>function ListOcostCenter() {<br />
layer.open({<br />
type : 2,<br />
title : &quot;部门列表&quot;,<br />
area : [ &quot;80%&quot;, &quot;85%&quot; ],<br />
content : &quot;jsp/ListOcostCenter.jsp&quot;,<br />
end : function() {<br />
}<br />
});</p>
<p>};</p>]]></description>
    <pubDate>Tue, 27 May 2025 16:17:21 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=22</guid>
</item>
<item>
    <title>input输入框防止非数字字符输入</title>
    <link>http://www.langyitechnology.com/?post=21</link>
    <description><![CDATA[<p>防止非数字字符输入 onkeyup=&quot;this.value=this.value.replace(/[^\d]/g,'')&quot;</p>]]></description>
    <pubDate>Tue, 27 May 2025 16:15:42 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=21</guid>
</item>
<item>
    <title>tableAuto.js设置easyui表格列按下拉列表勾选状态动态现象</title>
    <link>http://www.langyitechnology.com/?post=20</link>
    <description><![CDATA[<pre><code class="language-javascript">/**
 * 
 */
function tableAuto(a,b){
        var obj = GetFrozeData('#'+b,'');
        initComboboxTableFiled(a,obj,b)

    }
var GetFrozeData = function (gridStr, isFroze) {
     //获取所有未冻结列数据
     var cols = $(gridStr).datagrid('getColumnFields', isFroze);
     var array = [];
     for (var i =0;i&lt; cols.length;i++) {     
         //获取每一列的列名对象
         var col = $(gridStr).datagrid("getColumnOption", cols[i]);
         //声明对象
         var obj = new Object();
         obj["value"] = cols[i];
         obj["text"] = col.title.trim();
         if(col.hidden==true){
            obj["select"]=false;
         }else{
            obj["select"]=true;
         }
         //追加对象
         array.push(obj);
     }   
     return array;
 }
function initComboboxTableFiled(id,obj,tableid){
    var ckstr = [];
    for(var i =0;i&lt;obj.length;i++){
        if(obj[i].select){
            ckstr.push(obj[i].value);
        }
    }
    var thisvalue = ckstr.join(",");
    $('#'+id).combobox({
        data:obj,
        method:'post',
        panelHeight:400,//设置为固定高度，combobox出现竖直滚动条
        valueField:'value',
        textField:'text',
        value:thisvalue,
        multiple:true,
        formatter: function (row) { //formatter方法就是实现了在每个下拉选项前面增加checkbox框的方法
           var opts = $(this).combobox('options');
           var str = '';
           return '&lt;input type="checkbox" class="combobox-checkbox"&gt;' + row[opts.textField]
        },
        onLoadSuccess: function () {  //下拉框数据加载成功调用
            var opts = $(this).combobox('options');
            var target = this;
            var values = $(target).combobox('getValues');//获取选中的值的values
            $.map(values, function (value) {
                var el = opts.finder.getEl(target, value);
                el.find('input.combobox-checkbox')._propAttr('checked', true); 
            });
        },
        onSelect: function (row) { //选中一个选项时调用
            var opts = $(this).combobox('options');
            //获取选中的值的values
            $("#"+id).val($(this).combobox('getValues'));

            //设置选中值所对应的复选框为选中状态
            var el = opts.finder.getEl(this, row[opts.valueField]);
            el.find('input.combobox-checkbox')._propAttr('checked', true);
            $('#'+tableid).datagrid('showColumn',row.value);//showColumn,hideColumn
        },
        onUnselect: function (row) {//不选中一个选项时调用
            var opts = $(this).combobox('options');
            //获取选中的值的values
            $("#"+id).val($(this).combobox('getValues'));

            var el = opts.finder.getEl(this, row[opts.valueField]);
            el.find('input.combobox-checkbox')._propAttr('checked', false);
            $('#'+tableid).datagrid('hideColumn',row.value);//showColumn,hideColumn
        }
    }); 

};</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:12:45 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=20</guid>
</item>
<item>
    <title>easyui下拉列表代码块</title>
    <link>http://www.langyitechnology.com/?post=19</link>
    <description><![CDATA[<pre><code class="language-javascript">easyui加载表格：
$('#dg').datagrid({
    url: 'datagrid_data1.json',
    method: 'get',
    title: 'Context Menu on DataGrid',
    iconCls: 'icon-save',
    width: 700,
    height: 250,
    fitColumns: true,
    singleSelect: true,
    columns:[[
        {field:'itemid',title:'Item ID',width:80},
        {field:'productid',title:'Product ID',width:120},
        {field:'listprice',title:'List Price',width:80,align:'right'},
        {field:'unitcost',title:'Unit Cost',width:80,align:'right'},
        {field:'attr1',title:'Attribute',width:250},
        {field:'status',title:'Status',width:60,align:'center'}
    ]],
    onHeaderContextMenu: function(e, field){
        e.preventDefault();
        if (!cmenu){
            createColumnMenu();
        }
        cmenu.menu('show', {
            left:e.pageX,
            top:e.pageY
        });
    }
});
easyui加载下拉表格
$.ajax({
    type : "post",
    url : 'getAllServer.action',
    data :  {},
    dataType : "json",
    success : function(data) {
        var obj = JSON.parse(data);
        var value = "";
         $('#serverid').combogrid({
                panelWidth:450,
                //value:'006',
                idField:'id',
                textField:'name',
                data:obj,
                //url:'datagrid_data.json',
                columns:[[
                {field:'id',title:'id',width:60},
                {field:'name',title:'别名',width:100},
                ]]
                });

    },
    error : function() {
        alert("系统异常，请稍后重试！");
    }
});
$('#serverid').combogrid({  
  onChange: function (newValue, oldValue) {  
      $.ajax({
            url : "upserverId.action?serverId="+newValue, // 后台地址
            type : "post",
            dataType : "json",
            data : {}, //自己需要传递的数据 {}
            success : function(data) {
                var obj = JSON.parse(data);
                //parent.$("#doortxt").html(obj.name)
                alert(obj.info)
                parent.dg.cancel();
            },
            error : function() {

            }
        }); 
  }  
}); </code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:07:23 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=19</guid>
</item>
<item>
    <title>easyui行编辑单元格上下左右移动</title>
    <link>http://www.langyitechnology.com/?post=18</link>
    <description><![CDATA[<p><strong>JS实现：</strong></p>
<pre><code class="language-javascript">//键盘控制
$.extend($.fn.datagrid.methods, {
    keyCtr: function(jq) {
        return jq.each(function() {
            var grid = $(this);
            grid.datagrid('getPanel').panel('panel').attr('tabindex', 1).bind('keydown',
            function(e) {
                if (SampleInfo.editorIndex == -1) {
                    return;
                }
                var keyCode = e.keyCode;
                //当键盘按下键为左右键时,把网格键盘按下的事件默认动作去除,要不然会影响按左右键选择文本框值             
                if (keyCode == 37 || keyCode == 39) {
                    e.preventDefault();
                    e.stopPropagation();
                }
                rows = $dg.datagrid('getRows');
                if (SampleInfo.editorField == '') {
                    SampleInfo.editorField = 'formalStyleNo';
                }
                switch (keyCode) {
                case 38:
                    // up                 
                    var editors = grid.datagrid('getEditors', SampleInfo.editorIndex);
                    if (editors) {
                        if (rows.length &gt; SampleInfo.editorIndex &amp;&amp; SampleInfo.editorIndex &gt;= 1) {
                            SampleInfo.editorIndex--;
                        } else {
                            SampleInfo.editorIndex = rows.length - 1;
                        }
                        grid.datagrid('beginEdit', SampleInfo.editorIndex);
                        //单元格聚焦             
                        var ed = grid.datagrid('getEditor', {
                            index: SampleInfo.editorIndex,
                            field: SampleInfo.editorField
                        });
                        if (ed != null &amp;&amp; ed != "") {
                            $(ed.target).focus();
                            $(ed.target).select();
                        }
                    } else {}
                    break;
                case 40:
                    // down              
                    var editors = grid.datagrid('getEditors', SampleInfo.editorIndex);
                    if (editors) {
                        if (rows.length - 1 &gt; SampleInfo.editorIndex) {
                            SampleInfo.editorIndex++;
                        } else {
                            SampleInfo.editorIndex = 0;
                        }
                        grid.datagrid('beginEdit', SampleInfo.editorIndex);
                        //单元格聚焦                
                        var ed = grid.datagrid('getEditor', {
                            index: SampleInfo.editorIndex,
                            field: SampleInfo.editorField
                        });
                        if (ed != null &amp;&amp; ed != "") {
                            $(ed.target).focus();
                            $(ed.target).select();
                        }
                    }
                    break;
                case 37:
                    // left                
                    var editors = grid.datagrid('getEditors', SampleInfo.editorIndex);
                    if (editors) {
                        if (rows.length - 1 &gt; SampleInfo.editorIndex) {
                            SampleInfo.editorIndex++;
                        } else {
                            SampleInfo.editorIndex = 0;
                        }
                        grid.datagrid('beginEdit', SampleInfo.editorIndex);
                        //单元格聚焦           
                        if (SampleInfo.editorField == 'formalStyleNo') {
                            SampleInfo.editorField = 'formalCategoryNo';
                        } else if (SampleInfo.editorField == 'formalColorNo') {
                            SampleInfo.editorField = 'formalStyleNo';
                        } else if (SampleInfo.editorField == 'formalCategoryNo') {
                            SampleInfo.editorField = 'formalColorNo';
                        }
                        var ed = grid.datagrid('getEditor', {
                            index: SampleInfo.editorIndex,
                            field: SampleInfo.editorField
                        });
                        if (ed != null &amp;&amp; ed != "") {
                            $(ed.target).focus();
                            $(ed.target).select();
                        }
                    }
                    break;
                case 39:
                    // right                
                    var editors = grid.datagrid('getEditors', SampleInfo.editorIndex);
                    if (editors) {
                        if (rows.length - 1 &gt; SampleInfo.editorIndex) {
                            SampleInfo.editorIndex++;
                        } else {
                            SampleInfo.editorIndex = 0;
                        }
                        grid.datagrid('beginEdit', SampleInfo.editorIndex);
                        //单元格聚焦                     
                        if (SampleInfo.editorField == 'formalStyleNo') {
                            SampleInfo.editorField = 'formalCategoryNo';
                        } else if (SampleInfo.editorField == 'formalColorNo') {
                            SampleInfo.editorField = 'formalStyleNo';
                        } else if (SampleInfo.editorField == 'formalCategoryNo') {
                            SampleInfo.editorField = 'formalColorNo';
                        }
                        var ed = grid.datagrid('getEditor', {
                            index: SampleInfo.editorIndex,
                            field: SampleInfo.editorField
                        });
                        if (ed != null &amp;&amp; ed != "") {
                            $(ed.target).focus();
                            $(ed.target).select();
                        }
                    }
                    break;
                case 13:
                    // enter键                
                    removeDataGridCommon(itemStyle.dataGridItemStyle);
                    itemStyle.dealItemStyleProc();
                    break;
                case 113:
                    //F2保存键            
                    parent.operaItemStyleInsert();
                    var c = parent.billOrder.ItemStylePanel;
                    c.panel('close', true);
                }
            });
        });
    }
})</code></pre>
<p>调用：</p>
<pre><code class="language-javascript">class="easyui-datagrid move-edittable"

$("#bt1").datagrid("keyCtr");

postionstr = " col-row='1-" + index + "'"
classstr = classstr + " col-row1-" + index;</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:03:07 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=18</guid>
</item>
<item>
    <title>easyui加载数据</title>
    <link>http://www.langyitechnology.com/?post=17</link>
    <description><![CDATA[<pre><code class="language-javascript">$('#dg').datagrid({loadFilter:pagerFilter,pageList:[100,10,20,30,50],pageSize:30, rowStyler:function(index,row){
                if (row.chkYn!='1'&amp;&amp;row.chkYn!=2){
                    return 'background-color:white;color:red;font-weight:bold;';
                }
            }}).datagrid('loadData', []);</code></pre>]]></description>
    <pubDate>Tue, 27 May 2025 16:01:57 +0800</pubDate>
    <dc:creator>杰</dc:creator>
    <guid>http://www.langyitechnology.com/?post=17</guid>
</item></channel>
</rss>