Announcement

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

    Can't disable header field title clipping for ListGrid

    SmartClient Version: v11.1p_2017-08-01/LGPL Development Only (built 2017-08-01)
    Browser Version: Google Chrome Version 49.0.2623.112 m

    When I set the clipHeaderTitles attribute to false on a ListGrid, the titles are still being clipped. My test case is:

    isc.ListGrid.create({
    clipHeaderTitles: false,
    width: 100,
    fields: [{
    title: "Long Field Title"
    }]
    });

    How can I disable the default title clipping behavior?

    #2
    Have you read the docs for this property? We're not sure if you expect adjacent titles to run together or what; clipHeaderTitles:false won't do that, it just control nuances such as whether room is left for a sort arrow.

    Comment


      #3
      I'm just trying to prevent the ellipses from being displayed when field titles are clipped, as it was in previous versions of SmartClient.

      Comment


        #4
        Try setting align:"center" in your field:

        Code:
        fields: [{
            title: "Long Field Title", align:"center"
        }]

        Comment


          #5
          Is that the only way to prevent the ellipses from occurring?

          Comment


            #6
            You could also try setting ListGrid.leaveHeaderMenuButtonSpace: false.

            Comment


              #7
              That works. Thanks!

              Comment

              Working...
              X