Announcement

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

    How to change the width of columns in listgrids

    I have a ListGrid created, and there are 3 or 4 columns. How do I change the width of these columns so the information can be displayed without having to re-size them every refresh?

    I tried many setAutoFit.. but I dont think it's working because I am doing these in the ListGrid constructor, how do I grab a column and set it on that column?

    #2
    Hi kqappleq,

    you can configure the fields to display with ListGrid.setFields(ListGridField...).
    Create ListGridFields for you DS-fields and set their properties (e.g. width) as needed.

    Generally speaking, the ListGrid uses all its space for its fields. Is that not the case for you?

    Best regards,
    Blama

    Comment


      #3
      Worked well, thanks!

      Comment

      Working...
      X