summaryrefslogtreecommitdiffstats
path: root/slick.grid.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed steps in autoSizeColumns() that detects infinite loops for shrink and ↵Matt Jonas2013-12-021-2/+2
| | | | grow operations. In some cases the prevTotal exceeded total (for grow) and was less than total (for shrink). The existing check simply checked if the 2 values were equal, but not if prevTotal had gone beyond the proper bounds, resulting in an infinite loop.
* Merge pull request #559 from oadam/bugfixAutoSizeColumnMichael Leibman2013-11-261-3/+7
|\ | | | | bugfix column can grow larger than its maxwidth
| * forgotten replaceoadam2013-03-221-1/+1
| |
| * bugfix column can grow larger than its maxwidthoadam2013-03-221-3/+7
| |
* | Workaround for broken inertial scrolling on Mac WebKit/Blink.Michael Leibman2013-11-201-1/+30
| |
* | Merge pull request #729 from lencyforce/masterMichael Leibman2013-11-191-5/+10
|\ \ | | | | | | undo edit command doesn't trigger onCellChange event
| * | undo edit command doesn't trigger onCellChange eventlencyforce2013-08-251-5/+10
| | |
* | | Added an 'addNewRowCssClass' option.Michael Leibman2013-11-181-1/+6
| | |
* | | Fix #791 - Cancel the current edit on updateRowCount().Michael Leibman2013-11-171-0/+2
| | |
* | | Fix the onClick firing twice.Michael Leibman2013-10-301-1/+1
| | | | | | | | | | | | | | | Temporarily comment out the code that deals with restoring focus on clicks outside the row until I find a better solution.
* | | Undo an accedental edit.Michael Leibman2013-10-121-1/+1
| | |
* | | Add a grid initialization benchmark.Michael Leibman2013-10-121-1/+1
| | |
* | | Merge pull request #725 from kzhdev/performanceMichael Leibman2013-09-271-11/+16
|\ \ \ | | | | | | | | Performance Improvement
| * | | remove not used variablekzhdev2013-08-221-1/+0
| | | |
| * | | remove numberOfRows private member because it only used in UpdateRowCount.kzhdev2013-08-221-1/+0
| | | |
| * | | performance improvementkzhdev2013-08-221-9/+16
| |/ / | | | | | | | | | | | | Conflicts: slick.grid.js
* | | Merge pull request #699 from Morhaus/box-sizingMichael Leibman2013-09-121-13/+17
|\ \ \ | |/ / |/| | Support the "box-sizing: border-box;" css rule for column headers
| * | Add support for vendor prefixesAlexandre K2013-08-051-2/+2
| | |
| * | Set a correct width for the column header placeholderAlexandre K2013-08-021-1/+1
| | |
| * | Ignore paddings and borders of column headers and cells when their ↵Alexandre K2013-08-021-12/+16
| | | | | | | | | | | | box-sizing CSS property is set to border-box
* | | Merge pull request #712 from ramen/expose_scroll_pageMichael Leibman2013-08-131-4/+6
|\ \ \ | | | | | | | | Expose scrollPageUp and scrollPageDown methods
| * | | Rename scrollPageUp/Down to navigatePageUp/DownDave Benjamin2013-08-121-6/+6
| | | |
| * | | Expose scrollPageUp and scrollPageDown methodsDave Benjamin2013-08-121-0/+2
| | | |
* | | | Update virtually-rendered cells when resizing the grid (#714).Michael Leibman2013-08-131-0/+2
|/ / /
* | | Bump version to 2.2.Michael Leibman2013-08-101-2/+2
| | |
* | | Add PgUp/PgDown handling.Michael Leibman2013-08-101-15/+69
|/ /
* | Fix #605 by directly checking for "slick-cell" on click.Michael Leibman2013-07-291-1/+2
| |
* | adjust formatTakahiroKubo2013-06-291-4/+4
| |
* | fix issue #563Takahiro3Kubo2013-06-281-1/+4
| |
* | Remove the use of jQueryUI effect and move the invalid cell animation into CSS.Michael Leibman2013-06-201-2/+3
| |
* | back out for loop changeskzhdev2013-06-141-1/+1
| |
* | Merge remote-tracking branch 'upstream/master'kzhdev2013-06-141-1/+2
|\ \
| * | Avoids (minor) jQuery fragments cache leakciaranj2013-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that slickgrid when running in certain situations causes unexpected growth of the jQuery fragment cache (lots of construction and destruction of slickgrid instances within the same 'page') I spotted this when working on some memory allocation issues in my app, but was unable to replicate it in the provided slickgrid tests. However, it seems that the code this patch replaces should adequately address: http://bugs.jquery.com/ticket/11325 Signed-off-by: ciaranj <ciaranj@gmail.com>
* | | minimize getDataLength() callskzhdev2013-06-141-6/+8
| | |
* | | more performance improvementkzhdev2013-06-141-2/+3
| | |
* | | performance improvement: avoid calling getDataItem multiple times for same rowkzhdev2013-06-141-10/+11
|/ /
* | Add getContainerNode() method to Slick.Grid.resnyanskiy2013-05-241-0/+5
| |
* | Applied fix to destroy error with JQuery 1.9.kevinbeckstead2013-05-031-2/+2
| |
* | Fix Safari 6 toString() bugMichael Leibman2013-04-301-1/+1
| | | | | | Merged from https://github.com/jaywilliams/SlickGrid/commit/6b8de2183491408e1d89ed7c7981c24d9f276dc2.
* | Abstract away the row positioning.Michael Leibman2013-04-201-6/+14
| |
* | retval not declaredDi Wu2013-03-251-1/+1
|/
* Made scrollCellIntoView() also scroll the row into view.Michael Leibman2013-03-211-7/+6
|
* Remove usage on $.browser for jquery 1.9.0Leon Guan2013-03-051-1/+1
| | | | | jquery 1.9 has removed support for $.browser, use navigator.userAgent instead
* Adding default value for selectable in column options, optimizing ↵Darius Kazemi2013-03-011-6/+3
| | | | canCellBeSelected.
* No longer need to check if columns[cell].focusable is a boolean: since every ↵Darius Kazemi2013-02-281-5/+1
| | | | column now is boolean by default, we simply return focusable at the end of the function. (The original 'return true;' is not needed because the default value here IS true.)
* Column option for 'focusable' needs a default value. Set to true, as that's ↵Darius Kazemi2013-02-281-1/+2
| | | | the default behavior assumed by 'canCellBeActive'
* Merge pull request #523 from ckosmowski/masterMichael Leibman2013-01-241-1/+1
|\ | | | | Distance for dragging
| * Added distance for dragging rowsckosmowski2013-01-241-1/+1
| | | | | | Added distance to prevent users from unintended dragging of rows.
* | Merge pull request #521 from loris/patch-1Michael Leibman2013-01-211-1/+1
|\ \ | | | | | | Use of navigator.userAgent instead of $.browser
| * | Use of navigator.userAgent instead of $.browserLoris Guignard2013-01-211-1/+1
| | | | | | | | | $.browser object has been removed from jQuery 1.9.0
* | | Merge pull request #517 from ckosmowski/masterMichael Leibman2013-01-181-0/+1
|\ \ \ | |/ / |/| / | |/ Add the distance delay to the header drag code.
| * Changed distance valueckosmowski2013-01-181-1/+1
| |
| * Added distance to prevent unintended reorderingckosmowski2013-01-151-0/+1
| | | | | | | | | | | | | | Added a small distance delay on the sortable to prevent users from unintended triggering of the reordering. (Happens all the time i'm using slickgrid). i.e. the users tries to sort the column but fails since his mouse was still on the move a little bit and 1px is enough to trigger reordeing here. Please try, it still feels very responsive.
* | Replace 'hover' deprecated pseudo-eventLoris Guignard2013-01-181-3/+5
|/ | | | 'hover' pseudo-event has been deprecated in jQuery 1.9.0, use of 'mouseenter' and 'mouseleave' instead.
* Pass the right row to 'asyncPostRender' function (#505).Michael Leibman2013-01-121-1/+1
|
* Add 'sortable' CSS class to sortable headers (#514).Michael Leibman2013-01-121-3290/+3291
|
* Don't initialize Sortable just for destroyingAtes Goral2012-12-051-3/+1
| | | The `:ui-sortable` pseudo-selector filters out the element if it hasn't been initialized as a Sortable.
* Merge pull request #462 from francoispluchino/masterMichael Leibman2012-12-031-0/+2
|\ | | | | [BUG] Jquery UI Sortable Widget +1.9 init bugfix
| * Bugfix init Jquery UI Sortable Widget +1.9François Pluchino2012-10-091-0/+2
| |
* | Fix keyboard focus getting trapped when cell has tabbable elements.Michael Leibman2012-11-291-3/+20
| | | | | | | | | | Added another focus sink just after the grid content and set focus depending on the direction of keyboard navigation.
* | Stop the grid from trapping keyboard focus.Michael Leibman2012-11-091-28/+60
|/
* Fix #450 - Column reordering broken if grid initialized with empty columns ↵Michael Leibman2012-09-241-0/+1
| | | | array.
* Fix #385 - Avoid a division by 0 in handleScroll.Michael Leibman2012-09-241-1/+5
|
* Fix #398 - Add a "defaultSortAsc" column option.Michael Leibman2012-09-231-2/+3
|
* Fix #445 - Reset active cell when its row no longer exists.Michael Leibman2012-09-141-1/+7
|
* Fix #376 - size the header row spacer to the right widthMichael Leibman2012-08-311-7/+6
|
* Fix #428 - scroll the main area when the header row is scrolled.Michael Leibman2012-08-311-0/+9
|
* No need to namespace events on elements that we remove on destroy.Michael Leibman2012-08-311-8/+8
|
* Fix #432 - check hasOwnProperty() in for (... in ...) loops over arrays.Michael Leibman2012-08-311-0/+4
|
* BREAKING API CHANGESMichael Leibman2012-08-311-32/+50
| | | | | | | | | | | | | | | | | | | | New events: + onBeforeHeaderRowCellDestroy + onHeaderRowCellRendered Renamed events: onHeaderRendered -> onHeaderCellRendered onBeforeHeaderDestroy -> onBeforeHeaderCellDestroy New methods: - setTopPanelVisibility - setHeaderRowVisibility Removed methods: - showTopPanel - hideTopPanel - showHeaderRowColumns - hideHeaderRowColumns
* Merge pull request #430 from ClemensSchneider/safe_ancestor_bindingMichael Leibman2012-08-281-2/+13
|\ | | | | fixed bug where ancestor-bindings were not removed
| * fixed formattingClemens2012-08-281-2/+2
| |
| * fixed bug where ancestor-bindings were not removed in case theClemens2012-08-281-3/+14
| | | | | | | | canvas-element is detached from the dom before the grid-instance is destroyed
* | fixed missing space when applying 'active' class to rowClemens2012-08-281-1/+1
|/
* Add an "active" CSS class to the active row.Michael Leibman2012-08-251-1/+4
|
* Minor cleanup.Michael Leibman2012-08-251-8/+0
|
* Add an option to force sync scrolling.Michael Leibman2012-08-251-3/+5
|
* Account for the padding on the container.mleibman2012-08-061-0/+2
|
* Fix #395 - options.leaveSpaceForNewRows doesn't make sense when ↵mleibman2012-08-061-1/+9
| | | | options.autoHeight is on.
* Fix #407 - check for non-existent column in updateColumnHeader().mleibman2012-08-061-0/+4
|
* Merge pull request #403 from bjaress/SelectMultiRangePerRowMichael Leibman2012-08-061-1/+1
|\ | | | | Allow selecting multiple ranges per row.
| * Changed to allow selecting multiple ranges per rowBrian Jaress2012-07-141-1/+1
| |
* | Fix issue #414 - don't set the viewport height if options.autoHeight is set. ↵Michael Leibman2012-08-061-1/+3
| | | | | | | | Let it expand to content.
* | Clamp column width to minWidth/maxWidth if specified.Michael Leibman2012-08-061-0/+12
|/
* SlickGrid v2.1 - Implement virtual rendering for columns.Michael Leibman2012-07-061-86/+337
|
* Fix #380 - asyncPostProcess is fired too often when the array.prototype has ↵2.022.0.2Michael Leibman2012-06-221-4/+3
| | | | been extended.
* Fix #382 - Not all plugins are unregistered on destroy.Michael Leibman2012-06-221-1/+2
|
* Added "onHeaderMouseEnter" and "onHeaderMouseLeave" events for column headers.mleibman2012-06-171-6/+22
|
* Merge remote-tracking branch 'origin/master'mleibman2012-06-171-1/+1
|\
| * Fix #377 - vertical bounds checking wasn't accounting for the scrollbar.Michael Leibman2012-06-151-1/+1
| |
* | Extended the grid API with "onHeaderRendered" and "onBeforeHeaderDestroy" ↵Michael Leibman2012-06-171-4/+38
|/ | | | events and added a Slick.Plugin.HeaderButtons plugin to easily add custom buttons to column headers along with an example to demonstrate usage.
* Fix #374 by ignoring subsequent events on nodes that no longer exist.Michael Leibman2012-06-131-4/+11
|
* Small focus tweaks (#352).Michael Leibman2012-06-131-4/+6
| | | | Made SlickGrid less aggressive about grabbing focus.
* Sped up getMaxSupportedCssHeight() by doing exponential testing instead of ↵mleibman2012-06-011-7/+7
| | | | linear.
* Merge remote-tracking branch 'origin/v2.0' into v2.0mleibman2012-06-011-0/+1
|\
| * Fixed headers sometimes getting out of sync when the grid is resized.Michael Leibman2012-05-241-0/+1
| |
* | Added "scrollRowToTop()" and fixed bounds checking in "scrollRowIntoView()".Michael Leibman2012-06-011-0/+9
| |
* | Store the correct node reference in rowsCache.Michael Leibman2012-05-201-5/+1
| |
* | Cleaned up a few unused variables.Michael Leibman2012-05-201-10/+1
| |
* | Remove the "row" attribute from the row nodes and search the rowsCache ↵Michael Leibman2012-05-201-49/+83
|/ | | | | | instead (make sure you're not relying on that attribute being there!). Include cell node refs in rowsCache and refactor existing methods to use them.