In Laravel Backpack - Column data in view details and XLS download is truncated

Viewed 732

If the column data has approximately more than 50 characters the column gets truncated at around 50. addColumn function has 'type' => 'text'

In the end there is [...]

This is both in the details pop-up and XLS download.

Question is, can this limit be increased from any configuration?

1 Answers

Yes, you can! There is a limit option on the column for that.

    $this->crud->addColumns([
        [
            'name' => 'name',
            'label' => 'Name',
            'type' => 'text',
            'limit' => 150,
        ],
        ...
    ]);
Related