1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
    anonymoose is on a distinguished road

      0  

    Cool GridPanel Column Size Based on Length of Column Name

    Hi everybody! I've tried many things but can't seem to figure this out. Maybe someone can help me.

    I have some long column names that are being hidden b/c column width is too small. Is there a property that can set column width based on name of column without numerically setting each column's "width:" property?

    WHAT I WANT TO DO EVENTUALLY :
    Size each column based on content no less then column header and no greater then 400px
    length of column name <= length of column content <= 400px

  2. #2
    Sencha User
    Join Date
    Apr 2011
    Posts
    7
    Vote Rating
    0
    anonymoose is on a distinguished road

      0  

    Default

    No replies yet. Perhaps someone can help answer a more specific question -

    How can I get the (string)name of the column if I know its index?

Similar Threads

  1. How to show/hide a column in GridPanel based on the dataIndex
    By kguha in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 26 Apr 2011, 11:44 AM
  2. Column width based on the size of the largest content within one of it cells?
    By elsendoorn in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 16 Nov 2009, 8:34 AM
  3. Replies: 1
    Last Post: 10 Sep 2008, 3:51 AM

Tags for this Thread