jQWidgets Forums

jQuery UI Widgets Forums Grid Group Header empty

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  UJanke 12 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Group Header empty #11076

    UJanke
    Member

    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.janke

    Group Header empty #11081

    Peter Stoev
    Keymaster

    Hi 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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Group Header empty #11115

    UJanke
    Member

    Hi 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

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

You must be logged in to reply to this topic.