5450 Posts in 1672 Topics by 1197 members
|Go to End|
11 October 2011 at 2:56pm
I used this page as sample:
So I created like pop-up window and adding students.
The everything works fine. I can add students and I can list them.
The student list order show oldest to newest by adding order.
I wish that I can sort student by name at CMS.
Is this possible?
11 October 2011 at 11:51pm
There is a 7th parameter $sourceSort for the (HasMany)ComplexTableField - so this might work (based on the code from the tutorial):
$tablefield = new HasOneComplexTableField(
'FirstName' => 'First Name',
'Lastname' => 'Family Name',
'Nationality' => 'Nationality'
12 October 2011 at 1:45am
|Go to Top|