Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Sorting tables within CMS -- is this possible?

Go to End

2 Posts   1453 Views


Community Member, 22 Posts

28 December 2007 at 7:01pm

I'm wondering whether some sort of Ajax-enabled sorting is supposed to be possible for tables within the CMS. This thread ( mentions something similar...and I'm looking for something along the same lines.

I finally got my complextablefield working, and I'm able to sort the displayed info through the template using this:
function ActiveReps() {
return $this->getComponents('Reps', "ID", "Composer ASC");

but I need the table in the actual CMS to be organized alphabetically (by the first field, "Composer."

What file(s) should I edit to accomplish this? thank you!


Forum Moderator, 801 Posts

5 January 2008 at 9:46pm

you can simply add a constructor-parameter - i've updated the wiki page to explain this a bit more clearly: