Commit Graph

23 Commits

Author SHA1 Message Date
UndefinedOffset
afffa5b09e Fixed regression introduced in fae85f04c1 where disableSelection() was no longer optional
Disable selection is now forced when the "allow drag and drop" is checked
2015-11-30 15:56:53 -04:00
UndefinedOffset
ebfaa26021 Fixed issue where if there are no pagination arrows from GridFieldPaginator the arrows for sortable gridfield would show when dragging 2015-10-09 10:20:23 -03:00
Ed Chipman
c224c33173 Fixed column widths not maintaining in the helper element (fixes #74) 2015-09-18 16:03:06 -03:00
UndefinedOffset
74780bb110 Fixed error when dropping onto the arrows 2015-09-08 11:33:54 -03:00
UndefinedOffset
3893e7b052 Redraw is now called when sorting starts 2015-09-08 09:56:21 -03:00
Ed Chipman
089d4e796d Re-enabled check for if the sort checkbox is enabled
Re-enabled removal code if the page sort does not have a previous and/or
next

Spacing corrections
2015-09-06 20:48:10 -03:00
Ed Chipman
fae85f04c1 First pass of new page sort method issue #72 2015-09-06 20:45:00 -03:00
Ed Chipman
282ea74a76 Fixed issue where the even/odd highlight would differ from what the server would generate after sorting 2015-08-29 14:54:46 -03:00
Matthew Hailwood
70512329a1 Allow 'disableSelection' to be disabled 2015-04-07 10:09:06 +12:00
Aden Fraser
68723005c8 Fix which reset the classes of .odd, .even, .first and .last when a draggable and drop event occurs, which ensures zebra striping remains correct 2015-02-11 12:29:26 +00:00
Ed
830115fa4f Removed extra language that was not needed
Renamed some of the internal actions
2013-07-18 20:54:33 -03:00
Ed
60c8939f45 Display cms loading indicator when sorting rows on the same page fixes #34 2013-05-25 20:40:14 -03:00
Ed
4de269e53f Resolved issue #33 when sorting to page the to page sort was called first then the on page sort was called which caused the indexes to become confused 2013-04-26 20:29:34 -03:00
Ed
4827b8e909 Fixed issue #33 were in newer browsers after dropping on the pagination arrows the edit screen would be displayed 2013-04-19 19:32:47 -03:00
Shea
04c49653a6 BUGFIX renamed the Items array that is sent in post, as it was being overriden by another postvar called Items, containing GridState data. The array of Item Ids used by SortableGridField is now called ItemIDs 2012-09-10 13:38:00 +10:00
UndefinedOffset
4c77fff713 Fixed compatibility issues with SS3 Beta 3 2012-05-28 11:26:33 -03:00
UndefinedOffset
b0fcb318ad Added visual cue when moving cross pages
Implemented a better sorting algorithm for sorting cross pages

Removed sorting to first page and last page as this would mean re-indexing allot of items potentially
2012-05-18 10:50:09 -03:00
UndefinedOffset
fb767a6722 Fixed spaces instead of tabs 2012-05-17 09:56:16 -03:00
Ed
4993f6d3e6 Added support for cross page sorting 2012-05-16 22:37:08 -03:00
UndefinedOffset
2285cfa7cb Removed reload of table after dropping item 2012-05-15 12:46:03 -03:00
UndefinedOffset
20dfa3c9ea Coding convention updates
Moved text labels into translations

Added class documentation to the GridFieldSortableRows class
2012-05-15 11:04:40 -03:00
UndefinedOffset
48996eb6ee When dragging is enabled the cursor is now the move cursor when over a row 2012-05-10 11:36:28 -03:00
UndefinedOffset
710c7b88d2 Initial commit of module 2012-05-09 14:14:34 -03:00