zordon

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: emptyrecords not working #95634
    zordon
    Participant

    If you're using the 3.8 beta, I think there's a bug in preventing to show that message. You can do it manually btw

    if ($(YourGrid).getGridParam(“reccount”) === 0) {

    in reply to: jqGrid 3.8 Beta emptyrecords is not working #95629
    zordon
    Participant

    Yup, I have the same problem :( , any manual method to check this?

    edit: I did the fix manually I used an old method I found in the web.

    zordon
    Participant

    I still cant get use of the nav buttons 🙁

    jqGrid Demo

    $(document).ready(function(){

    $('#list').jqGrid({

    url:'grid.php',

    mtype: 'POST',

    datatype: “json”,

    width: 800,

    colNames:['ID','Name', 'Price', 'Promotion'],

    colModel:[

    {name:'product_id',index:'product_id', width:55,editable:false},

    {name:'name',index:'name', width:100,editable:true, edittype:'text'},

    {name:'price',index:'price', width:80, align:'right',formatter:'currency'},

    {name:'on_promotion',index:'on_promotion', width:80, formatter:'checkbox'}

    ],

    rowNum:10,

    rowList:[10,20,30],

    pager: $('#pager'),

    sortname: 'product_id',

    viewrecords: true,

    sortorder: “asc”,

    imgpath: 'css/ui-smoothness/images'

    });

    $(“#list”).navGrid(“#pager”,{search:true})

    });

    My Grid Data

    I appreciate any help 🙂

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

Stay connected with us in your favorite flavor!