Press "Enter" to skip to content

Posts tagged as “Yii2 Framework”

Yii 2 – Filter Date in Grid View

0

Bagaimana cara Filter Tanggal di Grid View Di Grid View: use kartik\grid\GridView; [ 'attribute' => 'updated_at', 'format' => 'date', 'filterType' => GridView::FILTER_DATE, 'filterWidgetOptions' => [ 'size' => 'xs', 'pluginOptions' =>…

Yii 2 – Bootstrap Modal

0

Pekerjaan menerapkan modal  telah dipermudah oleh Bootstrap, yang merupakan kerangka kerja standar dan dibundel dengan aplikasi dasar. Berikut ini adalah tutorial menggunakan pop up modal Bootstrap di Yii2 Framework Tambahkan…

Yii2 – Ajax validation data di modal window

0

Berikut ini script cara validasi data di pop up modal <?php yii\widgets\Pjax::begin(['id' => 'log-in']) ?> <?php $form = ActiveForm::begin(['id' => 'login-form', 'options' => ['data-pjax' => true]]); ?> <?php yii\widgets\Pjax::end() ?>…

Yii2 – Scenarios

0

A model uses the yii\base\Model::$scenario property for the ‘Scenario’ concept. By default, a model supports only a single scenario named default. Yii2.0 framework model is designed in very comfortable way…