Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6035 Vizualizări

I am using V14 with the new adjustable column widths in list view.   This is great except anytime I enter the form or make a change on the list view my column widths revert back to their default widths hiding some of my data.  Has anyone found a way to set the column widths and have them stay in V14?  

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Doug
to set column width permanent you can use width attribute in you column and set value according to your requirement.
Ex:
<field name="name" width="200px"/>
Thanks.

Imagine profil
Abandonează
Autor

Hello Husain

Thank you for your response. I tried to add the width attribute in the xml for the list view but it didn't seem to have an impact. Here is an example of what I tried.

<data>

<xpath expr="//field[@name='partner_id']" position="replace">

<field name="x_studio_glazing_included" groups="base.group_multi_currency"/>

<field name="x_studio_distressing_included" groups="base.group_multi_currency"/>

<field name="x_studio_designer_notes"/>

</xpath>

<xpath expr="//field[@name='user_id']" position="replace">

<field name="x_studio_room_name" width="200px"/>

<field name="x_studio_ready_for_scheduling" width="20000px" widget="toggle_button" groups="sale.group_warning_sale,account.group_warning_account,account_accountant.group_fiscal_year,purchase.group_warning_purchase"/>

Is the attribute suppose to be added somewhere else?

Thanks