Wrap Header Text?

  1. #1

    Wrap Header Text?

    Is there a way to wrap the GP Header/column text - I cannot have it truncated...
  2. #2

    RE: Wrap Header Text?

    Hi Tbaseflug,

    I was working on similar problem to warp the text in a grid panel column cells and below is the small workaround.

    I have used the column renderer function:-
     
    
    
    var ColumnRenderer = function(value){
    
    
    return ""+value+"";
    
    
    }
     
    
    
    <ext:Column Header="Notes" ColumnID="Notes" DataIndex="NOTES" Sortable="true" Width="350">
    
    
    <Renderer Fn="ColumnRenderer " />
    
    
    </ext:Column>
    I am still not sure about the header.
  3. #3

    RE: Wrap Header Text?

    I found this link - so am going to try and wrestle with the plugin...

    http://extjs.com/forum/showthread.php?t=49092
  4. #4

    RE: Wrap Header Text?

    I constructed the header with literal html/span tag - below - and wraps it as needed - not best practice, but works for me, for now:




    Header="Reimb Level"

Similar Threads

  1. ext:TextField text wrap please help
    By gopikrishna in forum 1.x Help
    Replies: 0
    Last Post: Feb 14, 2011, 8:50 AM
  2. Replies: 3
    Last Post: Sep 09, 2010, 7:31 AM
  3. [CLOSED] In gridpanel can the header wrap?
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 21, 2010, 6:20 PM
  4. [CLOSED] How to wrap the text in a TreePanel?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 03, 2010, 4:05 AM
  5. wrap Text in GridPanel
    By sachin.munot in forum 1.x Help
    Replies: 2
    Last Post: Nov 07, 2009, 1:13 AM

Posting Permissions