Something is wrong with options in DataColumn

Hi.

I can not understand for what is used options in DataColumns

When I used the code in attribute of columns


'options'=>['class'=>'text-center'],

I just get this code before thead:


<colgroup><col>

<col>

<col class="text-center">

<col>

<col>

<col>

<col>

<col>

<col></colgroup>

How to use options? Someone could give an example?

use


headerOptions

or


contentOptions

instead of


options