Commit Graph

70 Commits

Author SHA1 Message Date
UndefinedOffset
38c6515d64 Toggle is now hidden if there are no items in the grid much like GridFieldPaginator 2012-07-18 10:13:17 -03:00
UndefinedOffset
b1c3e09ca6 Fixed issue where the sort order could become confused because the filter() was not applied when calling fixSortColumn() 2012-07-10 11:33:22 -03:00
Ed
bf52ce15d2 Fixed error caused by the limit not clearing when an attempt is made to get the max sort index 2012-06-18 20:32:51 -03:00
Ed
5f4a217630 MINOR: Added label to the "Allow Drag and Drop" text so that clicking this will activate the checkbox
MINOR: Fixed line-height issues added in beta 3
2012-05-31 19:50:33 -03:00
Ed
ed00b22574 Fixed undefined variable $gridField which would cascade into a fatal error when correcting sort indexes of 0 on many_many relationships 2012-05-18 21:04:34 -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
Ed
ade87d5ff1 Fixed sorting of items with a sort order of 0 by giving them a sort index which puts them at the end 2012-05-17 22:05:56 -03:00
UndefinedOffset
a768c27133 Fixed issue where the datalist would get modified and cause issues with the returned display 2012-05-17 17:04:53 -03:00
UndefinedOffset
786af43ca9 Fixed issue where sortable header and filter could potentially get put back in when changing pages
Fixed issue when sorting cross pages with a many_many list
2012-05-17 16:43:29 -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
Ed
12f9caca17 Sorting now works with pagination enabled 2012-05-16 20:25:31 -03:00
UndefinedOffset
f30a4c8abe Added permission checking to ensure the user can edit a row
Added unit tests
2012-05-15 12:33:00 -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
32746c875c Accounts for GridFieldSortableHeader changing the sort 2012-05-10 11:42:52 -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
3b19642c26 Removed GridFieldSortableObject this is now handled by the developer (see README.md)
GridFieldSortableRows now requires the developer to set the field to sort on

Cleaned up handling of many_many relationships
2012-05-10 11:27:01 -03:00
UndefinedOffset
410b3a91a8 Documentation on GridFieldSortableObject
Sort order now starts at 1

Cleaned up SQL query generation for many_many relationships
2012-05-09 15:52:41 -03:00
UndefinedOffset
b10961873c Better handling of many_many relationship sorting 2012-05-09 14:39:55 -03:00
UndefinedOffset
710c7b88d2 Initial commit of module 2012-05-09 14:14:34 -03:00