jqgrid symfony2 integration
JavaScript PHP
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 17 commits ahead, 22 commits behind michelpa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DependencyInjection
Grid
Resources
Tests/Controller
Tool
Twig
.gitignore
LICENSE
OpenifyJqGridBundle.php
README.md
composer.json

README.md

JqGridBundle

JqGrid implementation for Symfony2.

Compatibility: Tested with Symfony 2.0.12

Full working demo

Installation

  1. Add this bundle to your vendor/ dir

    Add the following lines in your deps file:

      [OpenifyJqGridBundle]
        git=git://github.com/michelpa/JqGridBundle.git
        target=/bundles/Openify/JqGridBundle
    

    Run the vendor script:

      ./bin/vendors install
    
  2. Add the "Openify" namespace to your autoloader

       <?php
       // app/autoload.php
       $loader->registerNamespaces(array(
           'Openify' => __DIR__.'/../vendor/bundles',
       // your other namespaces
       ));
  3. Enable the bundle in the kernel

      <?php
         // app/ApplicationKernel.php
         public function registerBundles()
         {
             return array(
                 // ...
                 new Openify\Bundle\JqGridBundle\OpenifyJqGridBundle(),
                 // ...
             );
         }
  4. Add assets to your layout

    JS

      bundles/openifyjqgrid/js/i18n/grid.locale-fr.js
      bundles/openifyjqgrid/js/jquery.jqGrid.min.js
    

    CSS

      bundles/openifyjqgrid/css/ui.jqgrid.css
    

Grid example

Full working demo