Is there a way to wrap the GP Header/column text - I cannot have it truncated...
Printable View
Is there a way to wrap the GP Header/column text - I cannot have it truncated...
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:-
Code:
var ColumnRenderer = function(value){
return ""+value+"";
}
I am still not sure about the header.Code:
<ext:Column Header="Notes" ColumnID="Notes" DataIndex="NOTES" Sortable="true" Width="350">
<Renderer Fn="ColumnRenderer " />
</ext:Column>
I found this link - so am going to try and wrestle with the plugin...
http://extjs.com/forum/showthread.php?t=49092
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"