Keep control over your ExtJS grid cell wrapping

Keep control over your ExtJS grid cell wrapping

This snippet shows how you simply keep control over your cell wrapping in an Sencha ExtJS grid column.

Sometimes you would like to have a cell's text in a ExtJS grid wrapped like this:

ExtJS grid cell wrapping sample

The following code shows how to do it with a little bit of CSS and the tdCls config setting in your grid column definition. Don't use the cls config setting, for this has only effect on the header of the column.

No comments yet

your email address will not be published. required fields are marked *