turkitopy

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • in reply to: doesn’t show any record #95097
    turkitopy
    Participant
    in reply to: doesn’t show any record #95085
    turkitopy
    Participant

    yes i have… this is the html:

    My First Grid

    html, body {

    margin: 0;

    padding: 0;

    font-size: 75%;

    }

    jQuery(document).ready(function(){

    jQuery(“#list”).jqGrid({

    url:'example.php',

    datatype: 'xml',

    mtype: 'GET',

    colNames:['Inv No','Date', 'Amount','Tax','Total','Notes'],

    colModel :[

    {name:'invid', index:'invid', width:55},

    {name:'invdate', index:'invdate', width:90},

    {name:'amount', index:'amount', width:80, align:'right'},

    {name:'tax', index:'tax', width:100, align:'right'},

    {name:'total', index:'total', width:100, align:'right'},

    {name:'note', index:'note', width:150, sortable:false}

    ],

    pager: '#pager',

    rowNum:10,

    rowList:[10,20,30],

    sortname: 'invid',

    sortorder: 'desc',

    viewrecords: true,

    caption: 'My first grid'

    });

    });

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

Stay connected with us in your favorite flavor!