Skip to content

cwohlman/KoGrid

 
 

Repository files navigation

#A koGrid Fork This is a koGrid fork with several features and bugfixes:

  • Added grouped rows and aggregation
  • Add a footer row which will show totals for each column
  • Improve the naming of the group column
  • Support for sorting grouped grids
  • Create Expand/Collapse-all buttons
  • Improve speed of grouped grid, esp when expanding and collapsing rows
  • Add an amd module output to the build process
  • Add cell selection and improve row selection

To see the grid in action please see the [example page] (http://cwohlman.github.io/KoGrid/)

#koGrid : A Knockout DataGrid#

Contributors:

KoGrid Team:

License: MIT

Dependencies: jQuery & Knockout


##About## koGrid is a direct knockout port of ng-grid which was originally inspired by koGrid, which was inspired by SlickGrid. I know, right?

koGrid is in 2.1.1 release currently.

Questions, Comments, Complaints? feel free to email us at kogridteam@gmail.com


The sizzle:

<div data-bind="koGrid: { data: myObservableArray }"></div>
var vm = {
  myObservableArray: ko.observableArray(/* array of any complex obects */)
};

ko.applyBindings(vm);

##Want More?## Check out the Getting Started and other Docs

##Examples## http://knockout-contrib.github.io/KoGrid/#/examples

also check out the new Custom Cell Template Library ##Change Log##

  • 2012-12-18 - Adding columnsChanged callback (#171) and added fixes for issues #170, #167, #164, and #134.
  • 2012-12-12 - Merge ineedFat's awesome serach improvements. Removing gridservice and improving performance with templates. other bugfixes.
  • 2012-12-03 - various improvements and fixes to searching, bindings, resizing, and reordering. Ability to specify partial html file urls for templates.
  • 2012-12-03 - Version 2.0 BREAKING CHANGES. numerous enhancements, bugfixes and architectural changes. reduced code footprint by ~40%.
  • 2012-08-30 - Version 1.2 merging changes from skoGrid branch
  • 2012-08-18 - Adding new features, up/down arrows now control the selected item when multiselect is disabled. columnDefs are now observable so you can change the columns on the fly.
  • 2012-08-16 - Styles moved into CSS, minor bug fix for Row templates where cells wouldn't take null values (for instance, when you want to display an image instead of the value)
  • 2012-03-07 - Huge Row Rendering Perf improvements, Easier syntax for custom cell templates, Allow Custom CSS Classes on Header and Data Cells, Allow toggling of Footer Visibility, Much better button iconography, enhanced default CSS styles, various other bug fixes
  • 2012-04-10 - Wildcard Filtering, better grid resizing during window resize events, better sorting, numerous bug-fixes

About

A Knockout DataGrid

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.1%
  • Other 0.9%