Table of Contents - WiceGrid
Pages
CHANGELOG
0.5
0.4
03/04/2009
16/03/2009
13/02/2009
12/01/2009
12/01/2009
10/12/2008
4/12/2008
3/12/2008
25/11/2008
24/11/2008
19/11/2008
18/11/2008
6/11/2008
5/11/2008
4/11/2008
4/11/2008
21/10/2008
8/10/2008
3/10/2008
revision 27 (30/09/2008)
revision 17 (19/08/2008)
revision 13 (6/08/2008)
revision 11
revision 10
0
README
WiceGrid
Intro
Examples
Requirements
How-To
Support for javascript frameworks
Installation
Basics
Rendering filter panel
Initial Ordering
Records Per Page
Conditions
Queries with join tables
Joined associations referring to the same table
More than one grid on a page
Custom Ordering
Custom dropdown filters
Array of two-element arrays or a hash
:auto
Custom filters and associations (joined tables)
Any other symbol (method name) or an array of symbols (method names)
Special treatment of values ‘null’ and ‘not null’
Multiple selection
Numeric Filters
Defaults
Submit/Reset buttons
Auto-reloading filters
Styling the grid
Adding classes and styles
Adding classes and styles dynamically
Adding rows to the grid
Rendering a grid without records
Action Column
Integration of the grid with other forms on page
Javascript Calendar for Date and DateTime Filters.
Show All Records
CSV Export
Detached Filters
Access to Records From Outside The Grid
Accessing Records Via The WiceGrid Object
Accessing Records Via Callbacks
Icons
SAVED_QUERIES_HOWTO
Saving Queries How-To
Step 1: Create the database table to store queries
Step 2: Create the controller to handle AJAX queries.
Step 3: Add routes
Step 4: Add the saved query panel to the view.
Adding Application Specific Logic to Saving/Restoring Queries
Classes/Modules
Wice
Wice::Controller
Wice::Controller::ClassMethods
Wice::GridRenderer
Wice::GridViewHelper
Wice::JsCalendarHelpers
Wice::JsCalendarHelpers::CalendarData
Wice::WiceGrid
Object
Methods
::define_routes — Wice
#action_column — Wice::GridRenderer
#after_row — Wice::GridRenderer
#all_pages_records — Wice::WiceGrid
#before_row — Wice::GridRenderer
#blank_slate — Wice::GridRenderer
#caption — Wice::GridRenderer
#column — Wice::GridRenderer
#current_page_records — Wice::WiceGrid
#define_grid — Wice::GridViewHelper
#dump_filter_parameters_as_hidden_fields — Wice::GridViewHelper
#export_grid_if_requested — Wice::Controller
#filter_and_order_state_as_hash — Wice::GridViewHelper
#filter_state_as_hash — Wice::GridViewHelper
#grid — Wice::GridViewHelper
#grid_filter — Wice::GridViewHelper
#initialize_grid — Wice::Controller
#last_row — Wice::GridRenderer
#render_grid — Wice::GridViewHelper
#row_attributes — Wice::GridRenderer
#save_wice_grid_queries — Wice::Controller::ClassMethods
#saved_queries_panel — Wice::GridViewHelper
#wice_grid_custom_filter_params — Wice::Controller
#with_paginated_resultset — Wice::WiceGrid
#with_resultset — Wice::WiceGrid