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, biapar, Willr, Ingo, simon_w

Sorting HasManyComplexTableField??


Reply

2 Posts   1834 Views

Avatar
Blackdog

24 August 2008 at 2:20am Community Member, 156 Posts

Hi All,

Is it possilbe to sort a HasManyComplexTableField?

Has anyone done this?

cheers.

Avatar
Phalkunz

25 August 2008 at 12:15am (Last edited: 25 August 2008 12:16am), 69 Posts

I haven't tried it out yet but it should work. Assign a field name (string) to $sourceSort parameter.

$complexTable = new HasManyComplexTableField($controller, $name, $sourceClass, $fieldList, $detailFormFields = null, $sourceFilter = "", $sourceSort = "", $sourceJoin = "")