I would like to write own class to replace the Yii vendor class yii\grid\Column. The reason is that I don’t want to make my changes directly into the vendor module due to eventual update. Logically I think that I have to create a child class of that class and overwrite the methods I want to change. But My problem is that I can’t figure out where the yii\grid\Column class is been called. Fact is it’s being used when making a GridView::widget() but where is it triggered ?
But somehow the Sorting is not active in my define column, and the column header is not longer active or clickable. With the default yii\grid\Column the sorting is active on every table header with the possibility to click on it to order the display by that db column field.