EasyUI Forum

General Category => Bug Report => Topic started by: BinaryCode on August 19, 2014, 01:31:19 PM



Title: DataGrid Bug
Post by: BinaryCode on August 19, 2014, 01:31:19 PM
Hello,

I found another bug for Jeasyui 1.4 version:

//Define Grid field
GPS.gridGps.datagrid({
        columns: [[
                {field: 'icon', title: 'Icon', width: 80, formatter: formatIcon},
                {field: 'nopol', title: 'Nopol', width: 80},
                {field: 'imei', title: 'Imei', width: 200},
                {field: 'phone', title: 'Phone', width: 80},
                {field: 'stnk_berlaku', title: 'STNK', width: 80},
                {field: 'no_kir', title: 'No KIR', width: 80},
                {field: 'kir_berlaku', title: 'KIR Berlaku', width: 80},
                {field: 'noka', title: 'No Rangka', width: 80},
                {field: 'nosin', title: 'No Mesin', width: 80},
                {field: 'gps_install_date', title: 'Tgl Install', width: 80},
                {field: 'expired_date', title: 'Garansi', width: 80}
            ]]
    });

//Load data from local
$("#tblGrid").datagrid({loadFilter: pagerFilter}).datagrid('loadData', GPS.records);

Note: after execute above command, data not always appear in datagrid, but when i change page size to another example from 10 to 20 data will show will appear, or click reload button from pagination

I don't have problem with jeasyui V1.3.6 but V1.4 problem


Title: Re: DataGrid Bug
Post by: jarry on August 19, 2014, 04:00:46 PM
Please visit this example http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=Client%20Side%20Pagination. It works fine.


Title: Re: DataGrid Bug
Post by: BinaryCode on August 20, 2014, 01:37:40 AM
Hello Jarry,

Finally i know what make problem:

Different file size from latest download jquery.easyui.min.js (336KB) with http://www.jeasyui.com/easyui/jquery.easyui.min.js (337KB)