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 "-"; }, ],
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.
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