Announcement

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

    Header Span title is cut off

    Hi,

    We are using
    a) SmartClient Version: v9.1p_2014-05-15/Pro Deployment (built 2014-05-15)
    b) Testing using IE 11.0.9600.17126


    We have 2 tree grid columns that are being auto sized:


    TreeGridField tgfBPcs = new TreeGridField(“BPCS”,”PCS”));
    tgfBPcs.setAutoFitWidth(true);
    tgfBPcs.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);

    TreeGridField tgfBWgt = new TreeGridField(”BWGT”, “LBS”);
    tgfBWgt.setAutoFitWidth(true);
    tgfBWgt.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH);


    They are also added to a header span:

    HeaderSpan hsBalance = new HeaderSpan(“Balance To Plan”, new String[] { “BPCS”, ”BWGT” });
    tgRouteDetail.setHeaderSpans(hsPlanned);

    The problem is that the columns are being auto sized to a smaller size than the header span’s title width. So we see the header span’s title as “Bal To …”

    How can we resolve this as we need to auto size and we need to see the header span’s full title.

    Thanks,
    Voula

    #2
    Setting autoSizeHeaderSpans to true should resolve this issue for you.

    Regards
    Isomorphic Software

    Comment


      #3
      Header Span title is cut off

      Hi,

      We just updated to the latest build
      "SmartClient Version: v9.1p_2015-04-15/Pro Deployment (built 2015-04-15)

      and it seems that this issue is back even though we are setting autoSizeHeaderSpans to true. It is happening in IE (11.0.9600.17728) , Chrome (Version 42.0.2311.90 m).

      I am not sure if the fact that the font weight that we have set to bold would have anything to do with it ...


      Thanks,
      Voula
      Last edited by voulam; 28 Apr 2015, 10:45.

      Comment


        #4
        We've checked on the general behavior of this feature and we aren't see a problem. In order to look into this, we'll need a minimal, ready-to-run test case demonstrating the issue.

        Comment

        Working...
        X