M
M
Michael2015-03-21 23:07:09
1C-Bitrix
Michael, 2015-03-21 23:07:09

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

1 answer(s)
A
Alexey Emelyanov, 2015-03-22
@xmentor

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 question

Ask a Question

731 491 924 answers to any question