NullRefExcep/yii2-datatables

Unknow column name

AFSIDD opened this issue · 4 comments

Setting unknown property: nullref\datatable\DataTableColumn::name

'columns' => [
'consumer',
[
'data' => 'branchName',
'title' => "Branch Name",
'name' => 'branchId'
],
]

Can you help with this? Currently on this version v1.1.0.

we didn't support property name, please check readme

It worked with the previous version, although i get your point that you never supported name property before also.
Is there a work around?

I guess we have this exception at old version too, but you could check it to download v1.0.4.
We have "magic" __set/__get for DataTable class but it was never for DataTableColumn.

Nope, adding class doesn't help also, i will try going back to 1.0.4 and recheck.

Thanks.