EasyUI Forum
September 13, 2025, 09:20:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Combine to Bootstrap on: September 22, 2019, 06:20:51 PM
Hi all,

i'm trying to use EasyUI and Bootstrap... i have read tutorial about combining easyui and bootstrap. i'ts work...
but when i use tabs, and in the tabs content i put datagrid, the datagrid look messy...

how can i do that..?
thanks a lot

*sorry for my bad english.
2  General Category / EasyUI for jQuery / Re: get error when create button in datagrid toolbar on: September 22, 2019, 06:11:39 PM
Thanks a lot Jarry.... it's work.
3  General Category / EasyUI for jQuery / get error when create button in datagrid toolbar on: September 12, 2019, 09:44:27 PM
hi everyone..

how to overwrite refresh button in datagrid..?
i used code like this:

var pager = $('#dataObject').datagrid('getPager');    // get the pager of datagrid
pager.pagination({
    showRefresh:false,
    buttons:[{
        iconCls:'icon-reload',
        handler:function(){
            $('#find').searchbox('setValue','');
            reLoad();
        }
    }]
});

i combine my project with Inspinia Template.
and i get error:

Uncaught TypeError: Cannot read property 'panel' of undefined
    at Object.getPager (<anonymous>:11965:32)
    at r.fn.init.$.fn.datagrid (<anonymous>:11815:35)
    at <anonymous>:4:30
    at p (jquery-3.1.1.min.js:2)
    at Ia (jquery-3.1.1.min.js:3)
    at r.fn.init.append (jquery-3.1.1.min.js:3)
    at r.fn.init.<anonymous> (jquery-3.1.1.min.js:3)
    at S (jquery-3.1.1.min.js:3)
    at r.fn.init.html (jquery-3.1.1.min.js:3)
    at Object.success (action.js:84)

can i combine Inspinia template with easyui..?

thanks a lot.

*sorry for my bad english
4  General Category / EasyUI for jQuery / Combogrid consume API on: September 01, 2019, 07:15:21 PM
Hi...

I have json data from other developer like this:
{
    "status": {
        "error": false,
        "message": "",
        "code": 200
    },
    "data": [
        {
            "RowNumber": "1",
            "id": "01",
            "kode": "101",
            "nama": "HEAD OFFICE",
            "idregion": {
                "RowNumber": "1",
                "id": "11111",
                "kode": "1",
                "nama": "SOME CITY"
            },
            "kodeRegion": "1",
            "namaRegion": "SOME CITY"
        },{
            "RowNumber": "22",
            "id": "22",
            "kode": "322",
            "nama": "SAMPLE BRANCH",
            "idregion": {
                "RowNumber": "1",
                "id": "11113",
                "kode": "3",
                "nama": "SAMPLE REGION"
            },
            "kodeRegion": "3",
            "namaRegion": "SAMPLE REGION"
        }
    ],
    "meta": {
        "more": false,
        "cursor": {
            "count_rec": 22,
            "count_data": 22,
            "count_page": 1,
            "curr_page": 1,
            "next_page": 0
        }
    }
}

as you can see, there's no "rows" element in the json data.

how can i populate that json to combogrid..?

thanks a lot...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!