Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Sorting HasManyComplexTableField??

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

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

Page: 1
Go to End
Author Topic: 1822 Views
  • Blackdog
    Community Member
    156 Posts

    Sorting HasManyComplexTableField?? Link to this post

    Hi All,

    Is it possilbe to sort a HasManyComplexTableField?

    Has anyone done this?


  • Phalkunz
    69 Posts

    Re: Sorting HasManyComplexTableField?? Link to this post

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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.