This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

oly2554
oly2554

I was wondering if there was a way to define a sort on custom columns in list render, so in my controller I have: $list->addColumns([ 'some_col' => [ 'label' => 'Some Column', 'sortable'=> false ]); Then in my model I have functions to get the attributes. However if I enable sort it has a fit because the custom column doesn't exist in the database.

Many Thanks

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.