Switch branches/tags
Nothing to show
Commits on Apr 4, 2012
  1. added fix for postgresql (special filter). added ability to make sear…

    …ch for complex fields, like user.username. TODO: tests
    KharkivReM committed Apr 4, 2012
Commits on Apr 2, 2012
  1. fixed syntax error

    KharkivReM committed Apr 2, 2012
  2. added loading of rake tasks

    KharkivReM committed Apr 2, 2012
  3. packed plugin as gem

    KharkivReM committed Apr 2, 2012
Commits on Mar 2, 2012
  1. Merge pull request #1 from navneetkapur/patch-1

    Update lib/view.rb
    davebaldwin committed Mar 2, 2012
Commits on Feb 28, 2012
  1. Update lib/view.rb

    navneetkapur committed Feb 28, 2012
Commits on Dec 27, 2011
  1. Extended the readme to include many of the new features added since t…

    …he original fork. Switched over to using markdown as the mark up language.
    davebaldwin committed Dec 27, 2011
Commits on Dec 20, 2011
  1. The caption displayed in slave detail grids can now use arbitrary val…

    …ues from the selected master row. $name entries in the caption string will be replaced the the column with name value in the selected row. If no $name entries are present then the value for the foreign_key_column will be appended to the caption.
    davebaldwin committed Dec 20, 2011
Commits on Dec 19, 2011
  1. Removed the need for slave grids to be identified as such using a use…

    …r supplied option. This is now handled automatically.
    davebaldwin committed Dec 19, 2011
Commits on Dec 18, 2011
  1. The injection of additional pos tdata (to support passing in the grid…

    … columns and master/slave detail information) has been move out of the default_options to allow more dynamic generation needed to support external controls.
    External controls allow buttons, drop down menus, etc. to inject additional parameters into the post data sent by the grid to the controller.  This can be used in some controller specific way or to change/add to the parameters used to filter or search.
    davebaldwin committed Dec 18, 2011
  2. Deprecated using the grid_columns to drive the searching and filterin…

    …g process to be more Rails like and to pave the way for additional search parameters to be injected into the params hash sent to the server and acted upon.
    davebaldwin committed Dec 18, 2011
Commits on Dec 13, 2011
  1. Reloading of the master grid will cause all slave grids to be reset s…

    …o they no longer show data as no row is now selected in the master grid.
    davebaldwin committed Dec 13, 2011
  2. Internal paginate method was missing the first page of records becaus…

    …e the current_page starts from 1 and not 0 as assumed by the method.
    davebaldwin committed Dec 13, 2011
Commits on Dec 5, 2011
  1. Added detail_foreign_key option to master_details to allow the attrib…

    …ute holding the master foreign key to be different to the attribute in the slave detail table holding the key to be matched.
    davebaldwin committed Dec 5, 2011
Commits on Dec 1, 2011
  1. Remove the need for a controller to know about the grid columns being…

    … displayed. This has some
    important consequences (apart from not being backwards compatible):
    1.  The controllers are more rails-like in that they have no knowledge about a view.
    2.  The same controller can respond to the same grid/model in different views and each
        grid/model view can show different model attributes.
    3.  The same controller can handle requests from master-detail views as well as slave-detail
    4.  There is less duplication because of (2 and (3) so the controllers and views are more DRY.
    To make existing controllers compatible just remove the second parameter to the grid_* method
    calls.  The GRID_COLUMNS declaration can also be removed.
    To make existing views compatible add the :slave_detail => true attribute to the grid attributes.
    davebaldwin committed Dec 1, 2011
Commits on Nov 26, 2011
  1. Added vertical tab (\v) as one of the characters to escape for json (…

    …causes sections of the gird to go blank when encountered).
    davebaldwin committed Nov 26, 2011
Commits on Nov 18, 2011
  1. Removed unwanted theme and restored the default jquery-ui css file as…

    … it was inadvertently deleted.
    davebaldwin committed Nov 18, 2011
  2. Updated install task so for rails >= 3.1 the application.js file will…

    … be updated if necessary to include jquery-ui as it is needed for the columnChooser option.
    davebaldwin committed Nov 18, 2011
  3. Tidied up javascript loading helper to make it clearer what files nee…

    …d to be loaded for rails < 3.1 and rails >= 3.1
    davebaldwin committed Nov 18, 2011
Commits on Nov 11, 2011
  1. Added column chooser dialog to grid (set :column_chooser => true as a…

    … grid option).
    Updated version of jquery to 1.7 and jquery-ui to 1.8.16.
    davebaldwin committed Nov 11, 2011
Commits on Sep 28, 2011
Commits on Sep 23, 2011
  1. Updated the rake install task so it takes into account the rails vers…

    …ion and if >=3.1.0 will use the new asset directory instead of public. It also selects between the source or minified version of jqgrid as rails 3.1.0 will automatically minify in production.
    davebaldwin committed Sep 23, 2011
  2. Removed some debug code.

    davebaldwin committed Sep 23, 2011
Commits on Sep 22, 2011
  1. Generators updated to support RESTful and CRUD principals. Mainly inv…

    …olves creating a controller for each detail grid rather than using the master grid controller to do the detail grid's work.
    The command line syntax has changed a little so a detail model name can also be passed in.  See generator file for comments and examples.
    davebaldwin committed Sep 22, 2011
  2. Master-detail grids now follow RESTful and CRUD principals. (Note cha…

    …nges in how detail grids are specified).
    davebaldwin committed Sep 22, 2011
Commits on Sep 8, 2011
  1. Test Rails version so in >= 3.1.0 the source file for jqgrid will be …

    …used and no the minified version as the new asset pipeline in 3.1.0 will do the minification for us in deployment (and makes debugging easier in development).
    jqgrid options are now merged recursively so the user can change one of the sub option hashes (such as :edit_optoins) without having to replace the whole option.
    davebaldwin committed Sep 8, 2011
Commits on Sep 7, 2011
  1. Now is fully RESTful and CRUD aware.

    (detail view not changed yet)
    davebaldwin committed Sep 7, 2011
Commits on Sep 6, 2011
  1. Upgrade to jqgrid 4.1.2

    davebaldwin committed Sep 6, 2011
Commits on Jul 1, 2011