Master Detail: Allow Add in same row

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mpol_ch
User
Posts: 877
Location: Switzerland

Master Detail: Allow Add in same row

Post by mpol_ch »

Hi
I am using allow add "+" button for a dropdown field.
In Master/Detail Add view I am havinf the "+" sign in a new row.
I want to have this just after the dropdown field in same row.

Where should I check this?
This working perfectly in griddadd and griddedit.

mpol_ch


mobhar
User
Posts: 11660

Post by mobhar »

mpol_ch wrote:
I want to have this just after the dropdown field in same row.

Did you want to move the + button below the dropdown field?


sangnandar
User
Posts: 980

Post by sangnandar »

Can't reproduce.
I always get + next to dropdown in the same row.
Also tried with multiple detail tables enabled, still get + next to dropdown in the same row.


mobhar
User
Posts: 11660

Post by mobhar »

sangnandar wrote:
still get + next to dropdown in the same row.

The "+" button will automatically be moved below the dropdown field in Grid-Add and Grid-Edit, if the width of the columns is not large enough.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

Hi,

Yes, I want to get + next to dropdown in same row.

unfortunately this is not the case for "Master/Detail Add".
In Master/Detail Add the + sign is showing in a new row.
There is no restriction for the column size.

This is also working for gridadd and gridedit.
But not for the Master/Detail Add.

mpol_ch


sangnandar
User
Posts: 980

Post by sangnandar »

I used master/detail add at the above and can't reproduce your issue.
Try to loose some columns, set only 2-3 columns.


mpol_ch
User
Posts: 877
Location: Switzerland

Post by mpol_ch »

Hi,

I just used the following code in area HTML->Styles->User then it worked:

.form-control {
padding: 2px 2px;
}

How can I use this code only for one table?
My table name is: positionen

mpol_ch


mobhar
User
Posts: 11660

Post by mobhar »

You need to know also the field name, not only the table name. Assume for the demo project, the table name is "cars" and the field name is "Model", then try this:

#el_cars_Model .ewLookupList .form-control {
padding: 12px 12px;
}


Post Reply