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   1896 Views

Avatar
Blackdog

Community Member, 156 Posts

24 August 2008 at 2:20am

Hi All,

Is it possilbe to sort a HasManyComplexTableField?

Has anyone done this?

cheers.

Avatar
Phalkunz

69 Posts

25 August 2008 at 12:15am

Edited: 25/08/2008 12:16am

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 = "")