How to setup an editable column to manipulate records in Yii2 grid view

This webtip will explain how in Yii 2 Framework, we can setup the enhanced Krajee EditableColumn to work with the Krajee GridView widget. The objective is to achieve the following functionality using kartik\grid\GridView and kartik\grid\EditableColumn: configure a grid cell content to be editable use advanced input widgets to edit content capture the editable content POSTED […]

Read More

Model range validation along with yii2-field-range extension

The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block. Here are a few tips on configuring model validation rules for your two attributes using this extension: Validation Scenario 1: Field 1 should not […]

Read More

Filter & Sort by Summary Data in GridView Yii 2.0

This web-tip explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns. Note: This is a variation to this web-tip which filters and sorts by related fields. In this web-tip, we will see specifically how to pull in SUMMARY data from related […]

Read More