[SOLVED] Grid/CRUD and allowing wrapping on a named column


I’ve got a grid which gets it’s data from a model.

I would like to add “wrap” to the

tag on that column.
I’m probably blind but I can’t find any information that I am able to digest with this information.

I hope “you’ve” got a good tip for me! :slight_smile:

Thanks in advance,

Easy peasy!

Here is the simple solution for my problem:

$g->addDecorator("comment", ["Text"]);

This changes the default type of the column “comment” to “Text” which doesn’t contain the class “single line”.

Actually it changes the class of the column from the default table class “atk_admin_form_grid_view_table” to “atk-cell-expanded” which in turn doesn’t contain “single line”.