How to use join on EDIT view

Discuss MySQL Ajax Table Editor

How to use join on EDIT view

Postby Atara » Sun Dec 31, 2017 2:05 pm

using join works well on TABLE view, and on VIEW. bot does not work on EDIT view.
on EDIT view, I only see the ID, without the title.
How can I fix the following code:

Code: Select all
$tableColumns['cti_tab_id'] = array(
         'display_text' => '(ID->name)',
         'perms' => 'AETVQSXO',
         'default' => $tid,
         'join' => array(
            'table' => 'cards_tabs',
            'column' => 'my_id',
            'display_mask' => "concat(cards_tabs.my_id, ' - ', cards_tabs.my_title)",
            'type' => 'left',
         ),
         'input_info' => ' readonly="readonly" '
Atara
 
Posts: 12
Joined: Wed Jul 26, 2017 9:01 am

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

cron