Hi all... I have Master Table and Detail Table ID related...
I'd set up Lookup Table, Link Field (ID), Display Field 1 (LastName1), Display Field 2(LastName2), Display Field 3(Names), Display Field 4(DocNumber)
And in List_Page - Page Load set:
$this->id_field->DisplayValueSeparator = [", "];
This should hide Display Fields 3 & 4 on List page, but still see 4 fields in dropdown list, on ADD/Edit pages...
And actually it works, but...
When I get DetailTableList?showmaster=MasterTable
And I decide to sort persons, then display fields, appears, and separated by ", "...
So, where should I set the $this->id_field->DisplayValueSeparator = [", "];
(instead of Page_Load) to avoid get ruined when I sort the detail table list?
Or, maybe, there is another way to sort detail table.
But in this case I have only ID, that bring Last Name from a third table... So in Sort cant chose LastName...
Thanks in advance...