Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Bug ? Sorting in a ComplextableField
Our old forums are still available as a read-only archive.
| Go to End | Next > | |
| Author | Topic: Bug ? Sorting in a ComplextableField | 2918 Views |
-
Bug ? Sorting in a ComplextableField

25 November 2007 at 5:36am Last edited: 25 November 2007 5:37am
I'm using a ComplexTableField for displaying / editing rows of data.
Clicking the column headers to sort the list breaks the CMS.
See attached screenshots.
-
Re: Bug ? Sorting in a ComplextableField

25 November 2007 at 11:41am
thats typical for javascript-behaviour not being applied - do you get a javascript error when loading the cms, or after pressing the link (before the page refreshes)?
-
Re: Bug ? Sorting in a ComplextableField

26 November 2007 at 10:16pm
Hi Ingo,
Nope, just the usual javascript warnings.
-
Re: Bug ? Sorting in a ComplextableField

27 November 2007 at 9:22am
added a ticket for it: http://open.silverstripe.com/ticket/1904 - i suspect the javascript replaces the container-div rather than all elements inside after the sorting-refresh...
-
Re: Bug ? Sorting in a ComplextableField

27 December 2007 at 12:08pm
How did you get the tables to sort? Is this functionality available in 2.1? I have a similar table and I'd like to know how to get it to sort alphabetically (within the cms). thank you!
-
Re: Bug ? Sorting in a ComplextableField

3 January 2008 at 9:24am
have a look at http://doc.silverstripe.com/doku.php?id=tablelistfield#sorting
due to performance-considerations we can just sort on SQL columns for now (not within a dataobjectset and custom getters). $sourceSort is the 5th constructor parameter.
you can also apply a custom SQL query to all tablelistfield instances which has an ORDER BY directive. -
Re: Bug ? Sorting in a ComplextableField

24 March 2008 at 9:38pm Last edited: 24 March 2008 9:38pm
5 months old and this isn't fixed - tell that matt to stop playing TF2!!
haha, any news on this in next version? or a workaround?
[I get the same error as the original poster]
-
Re: Bug ? Sorting in a ComplextableField

25 March 2008 at 10:23am
its marked for the next minor release (2.2.3)
| 2918 Views | ||
| Go to Top | Next > |




