jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Group Header empty
This topic contains 2 replies, has 2 voices, and was last updated by UJanke 12 years, 6 months ago.
-
AuthorGroup Header empty Posts
-
I use the normal grouping function:
$("#jqxgrid").jqxGrid({ source: dataAdapter, height: 300, groupable: true, groups: ['Report'], columns: [ { text: 'Audit_ID', dataField: 'Audit_ID', width: 50, hidden: true }, { text: 'Job Group', dataField: 'Report', width: 150 }, { text: 'Job Code', dataField: 'Job_Code', width: 50 }, { text: 'Status', dataField: 'Status', width: 50, cellsalign: 'center' }, { text: 'Package', dataField: 'Package_Name', width: 'auto' }, { text: 'Desc', dataField: 'Job_Desc', width: 'auto' }, { text: 'Source', dataField: 'Source_Desc', width: 'auto' }, { text: 'Target', dataField: 'Target_Desc', width: 'auto' }, { text: 'Start', dataField: 'Start_Time', width: 60, cellsformat: 'HH:mm', cellsalign: 'right' }, { text: 'End', dataField: 'End_Time', width: 60, cellsformat: 'HH:mm', cellsalign: 'right' }, { text: 'Run Time', dataField: 'Run_Time', width: 60, cellsalign: 'right', cellsformat: 'n' }, { text: 'Processed', dataField: 'Rows_Processed', width: 60, cellsalign: 'right', cellsformat: 'n' }, { text: 'Written', dataField: 'Rows_Written', width: 50, cellsalign: 'right', cellsformat: 'n' } ] });
Nothing magic, but in the actual case the groupheader text is missing. That only happens, as you can see, to the first level- If i use more then one group the additionalgroups shows the header text. The text in the bottom group is missing.
I tested also:
var groupsrenderer = function (text, group, expanded) {
return group;
}In the group var there is that missing text. But the headerrow is still empty…..
Any idears whats going wrong?
Greetings
U.jankeHi U.janke,
Unfortunately, we are unable to reproduce the reported issue with the provided information and won’t be able to help you without additional details about it. Please, provide a small sample which we can use for testing your scenario.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
i found the reason. At that moment you set the first colum to hidden: true, the groupheader of the first group disappears. I guess there is a zero index problem in the code.
Greetings
Uwe Janke -
AuthorPosts
You must be logged in to reply to this topic.