amilovac

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • in reply to: IE bug? loading…dialog #97658
    amilovac
    Participant

    @Oleg: Nice one! I didn't know that you can set the meta tag like that. Thanks.

    Aleksandar

    in reply to: IE bug? loading…dialog #97653
    amilovac
    Participant

    …an icon that looks like a page (IE8) next to the address bar or look in tools menu

    Regards

    in reply to: IE bug? loading…dialog #97650
    amilovac
    Participant

    Don't know if it is JQgrid bug or not, but the when you disable compatibility view in IE – it disappeares! Hope this wil help.

    Regards,

    Aleksandar

    in reply to: IE bug? loading…dialog #97565
    amilovac
    Participant

    Thanks Oleg. This is more than hlepful. I usualy work with FF and firebug, but this was a specific request from a customer. 🙁

    I will go with loadError

    in reply to: IE bug? loading…dialog #97563
    amilovac
    Participant

    Sorry, it's an intranet site not accesible from the outside 🙁 Here is the JS code (first grid is Ok, the second and the third are not):

    $(function () {

    $(“#list5”).jqGrid({

    url: 'js/JQgrid/gridAneks.php',

    editurl: 'js/JQgrid/gridAneks.php',

    datatype: 'json',

    mtype: 'POST',

    toolbar: [false, “top”],

    colNames: ['Број', 'Датум', 'Делатност', 'Рок закупа:', 'Почетак кор.', 'Уг. казна', 'Отказни рок', 'Површина'],

    colModel: [{

    name: 'broj_dokumenta',

    index: 'broj_dokumenta',

    width: 90,

    editable: true,

    search: true

    },

    {

    name: 'datum_dokumenta',

    index: 'datum_dokumenta',

    width: 90,

    editable: true,

    search: false

    },

    {

    name: 'delatnost',

    index: 'delatnost',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'rok_zakupa',

    index: 'rok_zakupa',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'datum_pocetka',

    index: 'datum_pocetka',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'ugovorna_kazna',

    index: 'ugovorna_kazna',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'otkazni_rok',

    index: 'otkazni_rok',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'povrsina_m2',

    index: 'povrsina_m2',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    }],

    pager: '#pager5',

    rowNum: 10,

    rowList: [10, 20, 30],

    sortname: 'zd.broj_dokumenta',

    sortorder: “asc”,

    rownumbers: true,

    autowidth: true,

    viewrecords: true,

    postData: {

    sortiraj: '1234',

    customVar2: 'customVal2'

    },

    caption: 'Преглед докумената'

    });

    jQuery(“#list5”).jqGrid('navGrid', '#pager5', {

    del: false,

    add: false,

    edit: false

    });

    jQuery(“#t_list5”).append(“”);

    $(“input”, “#t_list5”).click(function () {

    alert(“Поздрав, само тестирамо!!!!”);

    });

    $(“#list2”).jqGrid({

    url: 'js/JQgrid/griddok.php',

    editurl: 'js/JQgrid/griddok.php',

    datatype: 'json',

    mtype: 'POST',

    colNames: ['Број', 'Врста док.', 'Назив'],

    colModel: [{

    name: 'interni_broj',

    index: 'zo.interni_broj',

    width: 55,

    editable: true,

    search: true

    },

    //{

    // name: 'zakupac',

    // index: 'km.naziv_kom',

    // width: 90,

    // editable: true,

    // search: false

    //},

    {

    name: 'vrdok',

    index: 'vrdok',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    },

    {

    name: 'naziv',

    index: 'naziv',

    width: 80,

    align: 'right',

    editable: true,

    search: false

    }],

    pager: '#pager2',

    rowNum: 10,

    rowList: [10, 20, 30],

    sortname: 'zda_id',

    sortorder: “asc”,

    rownumbers: true,

    autowidth: true,

    viewrecords: true,

    postData: {

    sortiraj: '1234',

    customVar2: 'customVal2'

    },

    caption: 'Преглед докумената'

    });

    $(“#list2”).jqGrid('navGrid', '#pager2', {

    add: false,

    edit: false,

    del: false

    });

    jQuery(“#t_list2”).append(“”);

    $(“input”, “#t_list2”).click(function () {

    alert(“Hi! I'm added button at this toolbar”);

    });

    $(“#list3”).jqGrid({

    url: 'js/JQgrid/gridOglas.php',

    editurl: 'js/JQgrid/gridOglas.php',

    datatype: 'json',

    mtype: 'POST',

    colNames: ['Објављено', 'Истиче', 'Штампа/Сајт','Линк', 'Садржај'],

    colModel: [

    {

    name: 'datum_objavljivanja',

    index: 'datum_objavljivanja',

    width: 55,

    editable: true,

    search: true

    },

    {

    name: 'datum_isteka',

    index: 'datum_isteka',

    width: 55,

    editable: true,

    search: true

    },

    {

    name: 'objavljeno',

    index: 'objavljeno',

    width: 90,

    editable: true,

    search: false

    },

    {

    name: 'link_oglasa',

    index: 'link_oglasa',

    width: 90,

    editable: true,

    search: false

    },

    {

    name: 'datoteka',

    index: 'datoteka',

    width: 255,

    editable: true,

    search: false

    }

    ],

    pager: '#pager3',

    rowNum: 10,

    rowList: [10, 20, 30],

    sortname: 'datum_objavljivanja',

    sortorder: “asc”,

    rownumbers: true,

    autowidth: true,

    viewrecords: true,

    postData: {

    sortiraj: '1234',

    customVar2: 'customVal2'

    },

    caption: 'Преглед огласа'

    });

    $(“#list3”).jqGrid('navGrid', '#pager3', {

    add: false,

    edit: false,

    del: false

    });

    //za aneks ugovori

    $(“#list7”).jqGrid({

    url: 'js/JQgrid/grida2.php?q=1',

    datatype: 'xml',

    mtype: 'GET',

    height: 80,

    colNames: ['Број', 'Датум', 'Опис', ' Валута', 'Позив на број'],

    colModel: [{

    name: 'zao_id',

    index: 'zao_id',

    width: 135,

    search: true

    },

    {

    name: 'interni_broj',

    index: 'interni_broj',

    width: 135,

    search: true

    },

    {

    name: 'napomena',

    index: 'napomena',

    width: 135,

    align: 'right',

    search: true

    },

    {

    name: 'interni_broj',

    index: 'interni_broj',

    width: 135,

    search: true

    },

    {

    name: 'napomena',

    index: 'napomena',

    width: 135,

    align: 'right',

    search: true

    }],

    rowNum: 30,

    search: true,

    rowList: [10, 20, 30],

    sortname: 'zao_id',

    sortorder: 'asc',

    viewrecords: true,

    caption: 'Анекси Уговори',

    multiselect: false,

    subGrid: true,

    subGridUrl: 'js/JQgrid/subgrida2.php?q=2',

    subGridModel: [{

    name: ['Бр. уговора', 'Датум', 'Делатност', 'Рок закупа:', 'Почетак коришћења', 'Уговорна казна', 'Отказни рок', 'Валута плаћања', 'Површина'],

    width: [60, 60, 60, 70, 100, 90, 100, 110]

    }]

    }

    );

    });

    in reply to: IE bug? loading…dialog #97561
    amilovac
    Participant

    Thanks Oleg. I didn't notice any errors in a script. Maybe some blank or something else thath doesn't belong to script?

Viewing 6 replies - 1 through 6 (of 6 total)

Stay connected with us in your favorite flavor!