Skip to content

Commit

Permalink
Incremented version to 1.4.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
mleibman committed Oct 22, 2010
1 parent 032e841 commit 1d798f4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Distributed under MIT license.
* All rights reserved.
*
* SlickGrid v1.4.2
* SlickGrid v1.4.3
*
* TODO:
* - frozen columns
Expand Down Expand Up @@ -66,7 +66,7 @@
* EVENTS:
* onSort -
* onHeaderContextMenu -
* onHeaderClick - Matt Baker: Added onHeaderClick for column headers
* onHeaderClick -
* onClick -
* onDblClick -
* onContextMenu -
Expand All @@ -93,7 +93,7 @@
* and do proper cleanup.
*
*
* @param {NOde} container Container node to create the grid in.
* @param {Node} container Container node to create the grid in.
* @param {Array} or {Object} data An array of objects for databinding.
* @param {Array} columns An array of column definitions.
* @param {Object} options Grid options.
Expand Down Expand Up @@ -1826,10 +1826,9 @@ if (!jQuery.fn.drag) {
}

function handleHeaderClick(e) {

var $col = $(e.target).closest(".slick-header-column");
if ($col.length ==0) { return; }
var column = columns[getSiblingIndex($col[0])];
var $col = $(e.target).closest(".slick-header-column");
if ($col.length ==0) { return; }
var column = columns[getSiblingIndex($col[0])];

if (self.onHeaderClick && options.editorLock.commitCurrentEdit()) {
e.preventDefault();
Expand Down Expand Up @@ -1899,7 +1898,6 @@ if (!jQuery.fn.drag) {
};
}


//////////////////////////////////////////////////////////////////////////////////////////////
// Cell switching

Expand Down Expand Up @@ -2141,6 +2139,7 @@ if (!jQuery.fn.drag) {
function getGridPosition(){
return absBox($container[0])
}

function handleCurrentCellPositionChange() {
if (!currentCellNode) return;
var cellBox;
Expand Down Expand Up @@ -2410,7 +2409,7 @@ if (!jQuery.fn.drag) {
// Public API

$.extend(this, {
"slickGridVersion": "1.4.2",
"slickGridVersion": "1.4.3",

// Events
"onSort": null,
Expand Down Expand Up @@ -2479,7 +2478,7 @@ if (!jQuery.fn.drag) {
"setSortColumn": setSortColumn,
"getCurrentCellPosition" : getCurrentCellPosition,
"getGridPosition": getGridPosition,

// IEditor implementation
"getEditController": getEditController
});
Expand Down

0 comments on commit 1d798f4

Please sign in to comment.