Page 1 of 1

Child Tables Settings

Posted: 2019-05-13 20:39
by uchhavi
Hello

I created stock items table.

Now there are some items which are manufactured using other stock items.

So I created another table and created 2 look up fields to this table.

But in the child table, I want to show only one table (refer to the attachment).

Is it possible to remove the other child table showing below?

Please help.

Re: Child Tables Settings

Posted: 2019-05-23 12:04
by uchhavi
Please can you help answer this. Really stuck here

Re: Child Tables Settings

Posted: 2019-05-23 21:33
by pbottcher
Hi,

you can set this in AppGini in the table settings. At the lower part on the right side you see the parent/child settings, here you specify which child shall be displayed.

Re: Child Tables Settings

Posted: 2019-05-24 15:43
by uchhavi
Hello,
That I did.. but here the scene is different..
I have created a child table with two fields from the same table. So now if I select to show the child tables,two tabs come as I have put in the image I have shared above. Now is it possible to not show only one tab and remove the other.

Re: Child Tables Settings

Posted: 2019-05-24 20:21
by kbarrett
Uchhavi,

Have you tried hiding the child table in detail view?

Re: Child Tables Settings

Posted: 2019-05-24 21:22
by pbottcher
Hi,

you can use

$j('#tab_TABLE-FIELD').parent().hide();

where TABLE = composition
and FIELD = the field that corresponds to the RM List

but you may need to check if the tab already exists before hiding it, as it is create afterwards.

Re: Child Tables Settings

Posted: 2019-05-25 09:38
by uchhavi
Hi

Where to put this code?

Re: Child Tables Settings

Posted: 2019-05-29 19:31
by uchhavi
Hi

i put this code in item_composition-dv.js file

Code: Select all

$j(function(){
$j('#tab_item_composition-part_name').parent.hide();
})
But it is not working.. please help