Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 21, 2013
Commits on Mar 22, 2013
Commits on Feb 5, 2012
Commits on Jan 24, 2012
  1. Formatter & Editor cleanup.

    authored
    - Split up formatters into a separate file.
    - Moved both formatters and editors into Slick.Formatters.* and
    Slick.Editors.* namespaces.  Renamed some for clarity.
    - Removed obscure unused formatters from old examples.
    - Made the default formatter escape HTML since that seems to be the
    more common expectation (issue #267).
Commits on Jan 17, 2012
  1. More cleanup.

    authored Michael Leibman committed
  2. Reformatted code.

    authored Michael Leibman committed
Commits on Nov 12, 2011
Commits on Dec 30, 2010
  1. This is likely unfinished and buggy, but it is waaay too cool not to …

    authored
    …check in now!
    
    Added Slick.NonDataRow and deriving Slick.Group and Slick.GroupTotals classes that the grid recognizes.
    
    Added grouping and aggregation support to the DataView.
    DataView.groupBy() takes in a grouping value getter (either a property name or a function), a grouping value formatter, and an optional sort comparer.
    The sort comparer is pretty slick.  Unlike most other implementations, SlickGrid's grouping does not force you into any particular order.  It can take your data just the way it is ordered and simply break it into groups.  Essentially, you can end up with multiple groups with the same value in different places.  If you do specify the grouping sort, however, you get a more traditional ordering where the items are first ordered by the groups and, then, ordered by whatever you normally sort by withing the groups.
    DataView now also supports custom aggregators and group expanding/collapsing.  Several reference aggregators are included in Slick.Data.
    Totals row cells are formatted using the "groupTotalsFormatter" specified on the column definition.
    
    To maintain a consistent API, I've decided to remove the "fastSort" DataView method.  For IE8 and lower, it may be better to override Array.prototype.sort with a custom quicksort or mergesort implementation.  Overriding the Object.toString works great, but it requires a different way of specifying the sort.
    
    Also for consistency's sake, I've removed the DataView.rows collection.  DataView now exposes GetItem() and GetLength() and can be used as a databinding source directly.
Commits on Dec 20, 2010
  1. Removed jquery.curStyles pluging and replaced all uses of curStyles a…

    authored
    …nd the now deprecated curCSS with the regular jQuery css() since it now returns computed styles and normalizes the units. Changed dimensions variables from ints to floats to better work with browser zooming. Zooming is still mostly broken though due to buggy browser implementations. IE and FF can be worked around, but Chrome rounds up all returned computed styles, so we're out of luck.
Commits on Dec 18, 2010
  1. Merge fix.

    authored
  2. Changed the grid to read the dimensions from the computed style inste…

    authored
    …ad of actual elements. This fixes the issues displaying the grid in an initially hidden container.
Commits on Dec 17, 2010
  1. Minor fixes to examples.

    authored
Commits on Dec 10, 2010
  1. Added a mechanism to set scope ("this") in events.

    authored
    Grid and DataView now set the scope to the instance.
    Corrected args format in events in DataView.
Commits on Nov 26, 2010
  1. Initial commit of v2.0 alpha.

    authored
    This major update is focused around API usability, consistency and extensibility, events, and breaking out selection and drag'n'drop functionality into external plugins.
    
    Expect this code to be incomplete and buggy at this point.
    
    Since there are so many API changes, I am not making any attempt to retain backwards compatibility.  Hence the new major version.
Commits on Oct 18, 2010
Commits on Jul 7, 2010
  1. - CHANGED: updated to version 2 of jquery.event.drag (http://threedub…

    authored
    …media.com/code/event/drag)
    
    - CHANGED:  removed the jquery.rule from build script
Commits on Jun 26, 2010
  1. - CHANGED: updated jQuery UI to 1.8.2

    authored
    - CHANGED:  removed a dependency on the jQuery.Rule plugin
    - PERF:  optimized initial CSS rule generation
    - PERF:  optimized generated HTML.  removed "cell" attr, "tabIndex" & "hideFocus" are lazy-set.
    - PERF:  removed unneeded calls to styleColumnWidth() on column resize.
    - PERF:  removed an unnecessary call to node.parentNode in removeRowFromCache().
    - PERF:  finding a given cell node in a row no longer uses query selectors (goes straight to .children())
    - ADDED:  users can now select rows via Ctrl/Shift-click on any cell, not just selector.
    - ADDED:  a "reSort" method on the model to re-apply the last sort/fastSort call.
Commits on Jun 10, 2010
  1. *** BREAKING CHANGES ***

    authored
    The cell editor interface has been changed to allow for more flexible implementations.
    Instead of working with a single value, the editors can now work on multiple fields at once.  Formatters can already combine data from multiple fields into one cell; this enables us to write editors that can work with them.  To migrate your existing editors, remove .getValue() and .setValue(value) methods and implement .loadValue(item) and .saveValue(item) (should be a trivial migration).  The "value" property of the "args" param passed to the editor constructor has also been removed since it was error-prone.  In most cases you can replace that by "args.item[args.column.field]".
    
    One side-effect of this design change is that the "setValueHandler" column option is no longer supported.  The same functionality can be implemented via a custom editor/wrapper, "onCellChange" event, or a combination of both.
    
    The signature of "onAddNewRow" was also changed to take in an empty object to which the field value was saved via editor.saveValue({}), and a column definition.
    
    - REMOVED: "setValueHandler" column option
    - REMOVED: "value" property on cell editor "args"
    - ADDED: example 3a to demonstrate compound cell editors
    
    Other changes:
    - FIXED: onValidationError being fired twice when autoEdit is on
    - REMOVED: TaskNameCellEditor as it was not being used
Commits on May 18, 2010
  1. - Rolled back the bad changeset ("updateRowCount() no longer removes …

    authored
    …an extra row").
    
    - FIXED: Issue 50 - Two bugs: Filtering bug and Add Row bug when filtered.
Commits on Feb 7, 2010
  1. - Moved GlobalEditorLock into slick.grid.js.; exposed EditorLock.

    authored
    - Added "editorLock" option to SlickGrid; default to GlobalEditorLock.
    - Deleted slick.globaleditorlock.js.
Commits on Jan 14, 2010
  1. Upgraded to jQuery 1.4.

    authored
Commits on Dec 26, 2009
Commits on Dec 18, 2009
  1. - Code cleanup.

    authored
    - Deleted "grid.html".  The page was no longer maintained.
    - Added namespaces for everything except formatters & editors.
    
    Classes:
    Slick.Grid
    Slick.GlobalEditorLock
    Slick.Data.DataView
    Slick.Data.RemoteData
    Slick.Controls.ColumnPicker
    Slick.Controls.Pager
  2. CRLF -> LF

    authored
Something went wrong with that request. Please try again.