D
D
display: block2016-03-15 16:18:11
PHP
display: block, 2016-03-15 16:18:11

What render in Migx to use for resource header?

Subject. TV "resources_to_migx" has type "list of resources" with parent 822. Values ​​are entered into the table as expected.
e8302e48a5394b2db2bdcb8fd6cbb074.png
I just can’t figure out how to render the result in the table in the admin panel.
6138920cd6b54c4b98deee8c56789b7c.png
How to display the page title of the page in the table, and not the id?
Form markup:

[{"caption":"migx_table", "fields": [
    {"field":"tableGroup","caption":"Подгруппа","inputTV":"resources_to_migx"},
    ...
  ]
}]

and table columns:
[
{"header": "Подгруппа", "sortable": "true", "dataIndex": "tableGroup"},
...
]

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
photozoom, 2016-04-23
@photozoom

[
{"caption":"Info", "fields": [
    {"field":"pagetitle","caption":"Title"},
]}
]

[
{"header": "Title", "width": "160", "sortable": "true", "dataIndex": "pagetitle"}
]

T
tanzirev, 2016-05-06
@tanzirev

There is a solution here - https://tanzirev.ru/blog/2016/05/06/kak-vyivesti-p...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question