Hi, i’m newbie and i’m trying different thing on jqgrid. Now i’ve a problem with grouping.
When i add
                   grouping:true,
                   groupingView : {
                           groupColumnShow : [true],
                           groupText : ,
                           groupCollapse : false,
                           groupOrder: ,
                           groupSummary : [false],
                           groupDataSorted : false,
                           groupField :
                           }
i receive an error CANNOT READ PROPERTY ‘lenght’ of NULL
if I remove this part of code all is OK and data are shown.
Â
Someone can help me ? Thanks in advance.
 $(“#tablePersonal”).jqGrid({
                   datatype: ‘xmlstring’, datastr: data.d,
                   xmlReader: {
                       root: “results”,
                       row: “myrow”,
                       repeatitems: false
                   },
                   colNames: ,
                   colModel: [{ name: ‘ID’, index: ‘ID’, width: 50 },
                   { name: ‘LONGNAME’, index: ‘DIP_LONGNAME’, width: 180, align: “left” },
                   { name: ‘Date_Ass’, index: ‘Date_Ass’, width: 70, align: ‘center’,formatter: ‘date’, formatoptions: {newformat: ‘d-m-Y’ }},
                   { name: ‘cod1’, index: ‘cod1’, width: 55, align: “center” },
                   { name: ‘level_profile’, index: ‘level_profile’, width: 100, align: “left”},
                   { name: ‘TypePersonal’, index: ‘TypePersonal’, width: 55, align: “center” }],
                   rowNum: 30,
                   pager: ‘#pagerPersonal’,
                   viewrecords: true,
                   height: ‘auto’,
                   loadonce: true,
                   caption: ”,
                  Â
                   grouping:true,
                   groupingView : {
                           groupColumnShow : [true],
                           groupText : ,
                           groupCollapse : false,
                           groupOrder: ,
                           groupSummary : [false],
                           groupDataSorted : false,
                           groupField :
                           }
               });
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top