title: How to add row in jqGrid, that also has a checkbox
body: <p>I am adding to my jqgrid with below code all except <code>cfgname</code> and <code>updateDate</code> gets displayed into my grid, what is the problem here?</p>
  
  <pre><code>function addRow(cfgid,cfgname,hostname,cfgDesc,productId,cfgType,updateDate,emailAddress,absolutePath)
  {
  console.info(cfgid+", "+cfgname+", "+hostname+", "+cfgDesc+", "+productId+", "+cfgType+", "+updateDate+", "+emailAddress+", "+absolutePath);
  var myrow = {cfgid:cfgid, '':'', cfgname:cfgname, hostname:hostname, cfgDesc:cfgDesc, productId:productId,hostname:hostname,cfgType:cfgType,emailAddress:emailAddress,absolutePath:absolutePath};
  $("#list1").addRowData("1", myrow);
  $("#list1").trigger("reloadGrid");
  }
  
  var grid = jQuery("#list1");
  
              grid.jqGrid({
  
                datastr : xml,
                datatype: 'xmlstring',
                colNames:['cfgId','','Name', 'Host', 'Description','Product', 'Type', 'Last Updated Time','Last Updated By',''],
                colModel:[
                    {name:'cfgId',index:'cfgId', width:90, align:"right", hidden:true},
                    {name:'',index:'', width:15, align:"right",edittype:'checkbox',formatter: "checkbox",editoptions: { value:"True:False"},editable:true,formatoptions: {disabled : false}},
                    {name:'cfgName',index:'cfgName', width:90, align:"right"},
                    {name:'hostname',index:'hostname', width:90, align:"right"},
                    {name:'cfgDesc',index:'cfgDesc', width:90, align:"right"},
                    {name:'productId',index:'productId', width:60, align:"right"},
                    {name:'cfgType',index:'cfgType', width:60, align:"right"},
                    {name:'updateDate',index:'updateDate', width:120, align:"right"},
                    {name:'emailAddress',index:'emailAddress', width:120, align:"right"},
                    {name:'absolutePath',index:'absolutePath', width:90, align:"right", hidden:true},
                ],
                pager : '#gridpager',
                rowNum:10,
                scrollOffset:0,
                height: 'auto',
  
                autowidth:true,
                viewrecords: true,
                gridview: true,
                xmlReader: {
                    root : "list",
                    row: "com\\.abc\\.db\\.ConfigInfo",
                    userdata: "userdata",
                    repeatitems: false
                },
                onSelectRow: function(id,status){
                    var rowData = jQuery(this).getRowData(id); 
                    configid = rowData['cfgId'];
                    /*configname=rowData['cfgName'];
                    configdesc=rowData['cfgDesc'];
                    configenv=rowData['cfgType'];
                    filename=rowData['fileName'];
                    updatedate=rowData['updateDate'];
                    absolutepath=rowData['absolutePath'];*/
                    if(status==true)
                    {
  
                    }
  
                    rowChecked=1;
                    currentrow=id;
                    }
  }
                 }
  
              });
              grid.jqGrid('navGrid','#gridpager',{edit:false,add:false,del:false});
  </code></pre>
  
  <p>Here is a snapshot</p>
  
  <p><img src="https://i.stack.imgur.com/grp5X.jpg" alt="enter image description here"></p>