jquery-grid Base on JqGrid, easy yii extension

  1. overview
  2. Requirements
  3. Usage
  4. Docs
  5. Resources

overview

base on jqGrid 4.4.4, more powerful

Requirements

requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

how to use this extension...

This extension have to be installed into: Yii-Application/proected/extensions/jqgrid

can use code blocks like the following...

<?php 
      $this->widget('ext.jqgrid.JqGrid', array(
       'id'=>'demo',
       'language'=>'cn',
       'options'=>array(
           'treeGrid'=>'true',
           'treeGridModel'=>'adjacency',
           'ExpandColumn'=>'name',
           'rowNum'=>'-1',
           'url'=>'/path/to/grid.json',
           'datatype'=>'json',
           'treedatatype'=>'json',
           'treeIcons'=>array(
               'plus'=>'icon-plus',
               'minus'=>'icon-minus',
               'leaf'=>'icon-cancel',               
           ),
           'mtype'=>'POST',
           'ExpandColClick'=>'true',
           'colNames'=>array('id', 'name'),
           'colModel'=>array(
               array(
                   'name'=>'id',
                   'index'=>'id',
                   'width'=>'100',
                   'hidden'=>false,
                   'key'=>true,
                   ),
               array(
                   'name'=>'name',
                   'index'=>'name',
                   'width'=>'300',
                   'sortable'=>false,
               ),
               ),
           'height'=>'auto',
           'caption'=>'View Groups',
       )
   ))

   ?>

Docs

Resources

external resources for this extension...

4 0
6 followers
2 038 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: Milky Way
Created on: Apr 10, 2013
Last updated: 11 years ago

Downloads

show all

Related Extensions