height for Dojo grid 1.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gaya3
    New Member
    • Aug 2007
    • 184

    #1

    height for Dojo grid 1.1

    Hi All,
    I have painted the dojo grid 1.1 with height of 20em as follows..
    Code:
      # gridName
      {
        height:20em;
       }
    The input for that grid is about 1000 records.so, number of records exceeds the height of grid and hence the vertical scroll bars got attached. if the number of records going to be less than height of grid .Then height of the grid should be adjusted and hence scroll bars should not diplayed.. Anyone pl say how to solve this problem.. Thanks in Advance.

    Note: If i give as follows
    Code:
      # gridName
      {
        height:auto;
       }
    the scroll bars never got attached. but i dont want thats scenario...
    Thanks in Advance..
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Use the overflow property.

    Comment

    • gaya3
      New Member
      • Aug 2007
      • 184

      #3
      Originally posted by acoder
      Use the overflow property.

      Thank u acoder.. It helped me alot

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        You're welcome. Glad it did :)

        Comment

        Working...