Announcement

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

    Alignment of headers with columns in Listgrid after grouping

    Hi,
    I have a listgrid with more than 25 columns that span across the page. When I set data I could see the columns aligned properly with the headers.
    But when I do a group by, except for the first column, the rest of the columns are not aligned properly below the main header.
    eg.
    Before grouping:
    col1 | col2 | col3
    val1 | val2 | val3

    After grouping:
    col1 | col2 | col3
    grp header
    val1 | val2|val3|

    The same problem occurs when we do a expand/collapse of the group by header. When we expand the group by header, the values are populated in proper alignment with the header, but as soon as the data is populated completely, falls back un-aligned.

    Any pointers?

    Thanks,
    Bharathi

    #2
    Post all relevant versions (see FAQ).

    Comment


      #3
      Hi,
      Am using smartgwt 2.2, gwt - 2.0.3
      Browser - IE 6

      Comment


        #4
        Then you probably have external CSS - see the FAQ about visual glitches.

        If you think that's not it, please provide instructions for reproducing the problem in the live Showcase.

        Comment


          #5
          I dont have external CSS applied to the Listgrid.

          But I could not reproduce the issue in demo showcase listgrids. I tried reducing the number of fields to fit within the page to check whether the issue is with the listgrid size. No luck.

          Even when there is a lot of space in the listgrid , after the group by, the columns shrink to less than the original size in width.

          I tried setting cell alignment and normal alignment for the columns but in vain.

          Comment


            #6
            See the FAQ about visual glitches and external CSS. Whether you specifically applied CSS to the ListGrid is not relevant.

            Comment


              #7
              Thanks Isomorphic.

              I have com.smartclient.theme.enterpriseblue.EnterpriseBlue inherited and added com.smartgwt.SmartGwtNoTheme on top of it.

              I still did not see it work right. Probably I need to use firebug to nail down the issue.

              Comment

              Working...
              X