Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Grid header disappears when setShowGroupSummaryInHeader(true)

    SmartClient Version: SC_SNAPSHOT-2012-03-15_v8.2p/PowerEdition Deployment (built 2012-03-15)

    I have a ListGrid with the following attributes.
    Code:
    detailGrid.setDataSource(detailDS);	
    detailGrid.setShowFilterEditor(true);
    detailGrid.setAllowFilterExpressions(true);
    detailGrid.setShowGridSummary(true);
    detailGrid.setShowGroupSummary(true);
    detailGrid.setCanEdit(true);	
    detailGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
    detailGrid.setSelectionType(SelectionStyle.MULTIPLE);			
    detailGrid.setEditEvent(ListGridEditEvent.DOUBLECLICK);
    detailGrid.setGridComponents(new Object[] {
    		ListGridComponent.FILTER_EDITOR,
    		ListGridComponent.HEADER,      
    		ListGridComponent.BODY,
    		ListGridComponent.SUMMARY_ROW,
    		getDetailGridToolstrip()  
    });
    detailGrid.setShowHover(true);
    detailGrid.setCanHover(true);
    
    detailGrid.setFields(getDetailGridFields());
    detailGrid.setUseAllDataSourceFields(true);
    getDetailGridToolstrip() just returns a Toolstrip with some buttons on it to sit at the bottom of the grid.

    The grid displays properly and the groupBy feature works fine.

    If I then call setShowGroupSummaryInHeader(true) and groupBy(aField), the column headings disappear, but the other components remain.

    #2
    Could you clarify: you're doing this additional API calls sometime later: after draw, and with data loaded?

    What browser(s) ar affected?

    Comment


      #3
      Yes. After draw and with data loaded.

      I've tried Chrome and Firefox and the same thing happens on both.

      Comment


        #4
        Thanks for the report - we've addressed this in 3.1d and 3.0p and the fix will hit the nightlies in the next couple of days.

        Comment

        Working...
        X