Hi,
I'm trying to create nice custom listing of 1-to-many record set.
Like:
school_id school_name class_id class-name
1 Windsor Primary School 101 1a
1 Windsor Primary School 102 1b
1 Windsor Primary School 103 1c
1 Windsor Primary School 104 1d
1 Windsor Primary School 105 1e
2 Oxford Primary School 107 1z
2 Oxford Primary School 108 1b
I want to put the field (school_name) from main table in the header, but it does not work.
Ok, the problem is which record to pick to take the value
But with the filter 'school_id = 1' I have only one school_name.
First: is this by design that {field_name} does not work in the header ?
Second: I could see the data grid in the debugger display, so I could use PHP
to create proper header, though I did not find the name of the array debugger shows... What is the name? I don't want to waste my time debugging the scripts...
Regards
Henryk
I'm trying to create nice custom listing of 1-to-many record set.
Like:
school_id school_name class_id class-name
1 Windsor Primary School 101 1a
1 Windsor Primary School 102 1b
1 Windsor Primary School 103 1c
1 Windsor Primary School 104 1d
1 Windsor Primary School 105 1e
2 Oxford Primary School 107 1z
2 Oxford Primary School 108 1b
I want to put the field (school_name) from main table in the header, but it does not work.
Ok, the problem is which record to pick to take the value
But with the filter 'school_id = 1' I have only one school_name.
First: is this by design that {field_name} does not work in the header ?
Second: I could see the data grid in the debugger display, so I could use PHP
to create proper header, though I did not find the name of the array debugger shows... What is the name? I don't want to waste my time debugging the scripts...
Regards
Henryk