2017 © Pedro Peláez
 

symfony-bundle JqGridBundle

JqGrid integration for Symfony2

image

EPS/JqGridBundle

JqGrid integration for Symfony2

  • Thursday, October 17, 2013
  • by michelpa
  • Repository
  • 2 Watchers
  • 11 Stars
  • 2,973 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 17 Forks
  • 3 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

JqGridBundle

JqGrid implementation for Symfony2., (*1)

Compatibility: Tested with Symfony > 2.0.12 (not tested > 2.1.x), (*2)

Full working demo, (*3)

CHANGELOG

2012-06-04: BC break - change rendering function jqgrid_js to jqgrid, (*4)

Installation

  1. Add this bundle to your vendor/ dir, (*5)

    Add the following lines in your deps file:, (*6)

      [EPSJqGridBundle]
        git=git://github.com/michelpa/JqGridBundle.git
        target=/bundles/EPS/JqGridBundle
    

    Run the vendor script:, (*7)

      ./bin/vendors install
    
  2. Add the "EPS" namespace to your autoloader, (*8)

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

      <?php
         // app/ApplicationKernel.php
         public function registerBundles()
         {
             return array(
                 // ...
                 new EPS\JqGridBundle\EPSJqGridBundle(),
                 // ...
             );
         }
    
  4. Add assets to your layout, (*10)

    JS, (*11)

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

    CSS, (*12)

     bundles/epsjqgrid/css/ui.jqgrid.css
  5. Configuration, (*13)

in config.yml:, (*14)

eps_jq_grid: ~

or if you want to specify the date format (for datepicker), you've got to set the date format in js AND in php format (conversion):, (*15)

eps_jq_grid: 
    datepicker_format: dd/mm/yy
    datepickerphp_format: d/m/Y

Grid example

Full working demo, (*16)

The Versions

17/10 2013

dev-master

9999999-dev http://github.com/michelpa/JqGridBundle

JqGrid integration for Symfony2

  Sources   Download

MIT

The Requires

 

datagrid jqgrid