EasyUI Forum
September 14, 2025, 01:55:27 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: DataGrid Bug  (Read 10073 times)
BinaryCode
Newbie
*
Posts: 38


View Profile
« 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
« Last Edit: August 19, 2014, 02:03:17 PM by BinaryCode » Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 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.
Logged
BinaryCode
Newbie
*
Posts: 38


View Profile
« Reply #2 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)

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!