Answer the question
In order to leave comments, you need to log in
Displaying related tables in CAdminList?
In the admin panel, I display a table with invoices data (invoices table), in this table there is an act_id field leading to the ID of the acts table.
How can I display the title field from the acts table by act_id when displaying the invoices table in the act_id field?
Answer the question
In order to leave comments, you need to log in
When you add rows using the AddRow() method, just select the related data and that's it, in your case it's the title. See the order list file sale_order.php for an example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question