DECEMBER 14, 2012
WiceGrid version 3.2.1.pre1 has been released.
- action_column can now also take a block. If the block returns a falsy value, no checkbox will be rendered. Example.
- A fix: the css class submitted to
column
is also added to the<th>
tags of the column. - Filter related code has been refactored: condition generators are unified together with view column processors into one module. Writing your own filters has been simplified.
- The default filter for numeric columns has been replaced by a simple one field filter which checks the values for equality, not the inclusion in a range. Example. New column parameter
:filter_type
allows to load custom alternative filters. The old numeric range filter can still be used by specifyingfilter_type: :range
. See lib/columns/column_processor_index.rb for the list of available filters.