Announcement

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

    The zebra stripes in a grid are not correct when two or more rows are displayed

    Hello,

    When I like to display two rows in a cell, like in the following code the country column:

    Code:
    countryData = [
    
    {
        continent:"North America",
        countryName:"United States<br>Capitol: Washington, DC",
        countryCode:"US",
        area:9631420,
        population:298444215,
        gdp:12360.0,
        independence:new Date(1776,6,4),
        government:"federal republic",
        government_desc:2,
        capital:"Washington, DC",
        member_g8:true,
        article:"http://en.wikipedia.org/wiki/United_states"
    },
    ...
    Then the zebra stripes are not aligned correctly. Please see the attached screen shot.

    How can I display multiline content in a grid cell with correct zebra stripes?

    Regards Thomas
    Attached Files

    #2
    What are the settings on the grid, and do you want clipping or auto-fitting to content? The settings for these two possible behaviors are shown in these samples:

    http://www.smartclient.com/index.jsp#multilineValues
    http://www.smartclient.com/index.jsp#autofitValues

    Comment


      #3
      Thank you for the quick response!

      Yes setting wrapCells: true and fixedRecordHeights: false has solved this issue :-)

      Comment

      Working...
      X