Announcement

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

    Grid cell widgets not rendered on rows outside of visible area

    SmartGWT 3.0 LGPL
    GWT 2.4


    Custom grid cell widgets created by createRecordComponent are not rendered when the row is outside of visible area.
    After I resize the browser window they appear.

    Live showcase: http://logalyze4.demo.logalyze.com/logalyze-admin/
    User: test
    Password: logalyze

    Go to Tab Admin, menu: Repository->Log definitions. Scroll down...
    The resize the window.

    Some related settings:
    grid.setWidth100();
    grid.setHeight100();
    grid.setAutoFetchData(true);
    grid.setShowAllRecords(true);
    grid.setShowRecordComponents(true);
    grid.setShowRecordComponentsByCell(true);

    #2
    Could you please try the latest patch build (from smartclient.com/builds) as there were fixes in this area. If you're still seeing the problem, can you show how to reproduce it based on the Showcase example? Should be easy if the problem is simply revealing more cells.

    Comment


      #3
      Originally posted by Isomorphic View Post
      Could you please try the latest patch build (from smartclient.com/builds) as there were fixes in this area. If you're still seeing the problem, can you show how to reproduce it based on the Showcase example? Should be easy if the problem is simply revealing more cells.

      3.0p 2012-07-03 does not solve the problem.

      It depends on the number of visible records (eg. vertical size of the grid). I increased the height of grid from 200px to 300px and widgets got visible.

      Size: 200px
      Total number of records: 14
      Visible records without scroll: 8
      Wrong records (invisible widget): 2
      Last edited by bvamos; 20 Jul 2012, 04:54.

      Comment


        #4
        With grid.setShowAllRecords(true); works fine, but it ruins scrolling: empty rows at the bottom of grid. (data comes from a SAOP ws)

        Comment

        Working...
        X