Welcome, Guest
  • Author Topic: how to display 2 or more lines in a datagrid cell?  (Read 4176 times)

    saumya

    • Senior Programmer
    • ****
    • Posts: 496
      • View Profile
      • currently active
      • Email
    hi,
    I have a datagrid and the datas are now getting inot the cells of grid.But my problem arises when the data is more, it does not show up all the datas. Is there a way in datagrid component, I can make my cells, display 2 or more lines of data, or the cell render API is the only rescue.

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: how to display 2 or more lines in a datagrid cell?
    « Reply #1 on: 03/06/07, 02:10 »
    You're rigth, need to use the Cellrenderer API

    Jorge

    saumya

    • Senior Programmer
    • ****
    • Posts: 496
      • View Profile
      • currently active
      • Email
    Re: how to display 2 or more lines in a datagrid cell?
    « Reply #2 on: 03/06/07, 02:18 »
    well thanks.
    Let me give it a try.