Announcement

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

    Strange behavior of ListGrid

    I'm using SmartGWT 2.4 on Crome Browser.
    There is a strange problem with behavior of the List Grid.

    When the grid loads, the rows are displayed in the single line. Even if any column contains data in multiple line, the grid automatically adjust the height of the row.

    However, when we freeze upon a column, the rows will not align in a straight line. Attached screenshot (ScreenShot-1, 2 and 3) illustrates the problem.

    Is there a way to fix this? so that rows are aligned in straight line even after freeze?

    Below is the sample code.
    Code:
    ListGrid toolsGrid = new ListGrid(); 
    toolsGrid.setDataSource(ds);
    toolsGrid.setHeaderHeight(25);
    toolsGrid.setWidth100();
    toolsGrid.setCanResizeFields(true);
    toolsGrid.setCanHover(true);
    toolsGrid.setGroupByMaxRecords(4000);
    toolsGrid.setShowFilterEditor(true);
    toolsGrid.setShowGridSummary(true);   
    toolsGrid.setShowGroupSummary(true);   
    toolsGrid.setShowGroupSummaryInHeader(true);
    Attached Files
    Last edited by bskande; 17 Jan 2013, 07:07.

    #2
    ListGrid row hight mismatch on Freeze of column.

    Isomorphic - Can someone help on this.

    Comment


      #3
      ListGrid Freeze issue

      Can we get some quick response Isomorphic? Is this a bug in the smart GWT or configuration issue. If its a configuration issue, can you suggest what to do to resolve this?

      Thanks in advance.

      Comment


        #4
        This behavior also happens to me when I freeze columns. =/

        Comment


          #5
          This is a known limitation - the frozen fields feature is not compatible with rows of variable height that expand to fit their content (fixedRecordHeights:false).
          This is mentioned in the frozen fields overview documentation.

          If this feature is a requirement for your app, it could be eligible for feature sponsorship.
          Alternatively, you could handle this by specifying an explicit cellHeight large enough to accomodate the content you wish to display

          Regards
          Isomorphic Software

          Comment

          Working...
          X