Right now, by default, the Gridview take up 100% of the width, is there a way to not consume 100% width, but rather auto?
Right now, by default, the Gridview take up 100% of the width, is there a way to not consume 100% width, but rather auto?
You can always extend the corresponding asset (GridViewAsset
) and supply/override CSS definitions. You also need to set your new Asset in the classMap of Yii like so: Yii::$classMap[\yii\grid\GridViewAsset::class] = \ns\to\your\GridViewAsset::class
Way over my head, but I will now that I have some key terms I will do some research on the subject.