Word-wrap grid cells in Ext JS
If you only want to apply the wrapping to one column, you can add a custom renderer. Here is the function to add: function columnWrap(val){ return ‘<div style=”white-space:normal !important;”>’+ val +'</div>’; } Then add the renderer: columnWrap to each column you want to wrap new Ext.grid.GridPanel({ […], columns:[{ id: ‘someID’, header: “someHeader”, dataIndex: ‘someID’, hidden: … Read more