kartik-v / yii2-dynagrid

Turbo charge the Yii 2 GridView with personalized columns, page size, and themes.
http://demos.krajee.com/dynagrid
Other
74 stars 66 forks source link

A large text column content is not feeted into a mobile screen using dynagrid #213

Closed YairHadari closed 5 years ago

YairHadari commented 5 years ago

Hi,

How can I fit (break) a large text column content into a mobile screen using dynagrid? The code is: [ 'headerOptions' => ['style' => 'width:10%'], 'width' => '10%', 'label' => yii::t('yii', 'Message Title'), 'value' => function($model) { $title = Messages::find()->select('messagesTitle') ->where(['messagesID' => $model->messageHistoryMessageID]) ->one(); if (isset($title->messagesTitle)) return $title->messagesTitle; else return "-"; }, ],

Thanks, Yair

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.