Skip to Content
Menu
This question has been flagged
1 Reply
1236 Views

Hi all 

in the tree view for one2many field I noticed that the integer/float columns are thinner than the columns of the fields of char type, so all I want to make my float field column as wide as the char one,

the string of  the column  type float/integer is gonna become  abbreviated. if it is slightly long,

 I just want to expand it,

I tried stuff such as   inline css width/ colspan/  col-md and none of them really did the job.

 

 Thanks in advance

Avatar
Discard
Best Answer

Hi,

Try the following.

xml : 

<tree string="Tree String" class="my_class">


<field name="my_field" />


css :

.my_class [data-id="my_field"]{width: 1000px;}

Regards

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 20
15912
0
Mar 17
1896
1
Jan 24
13840
0
Mar 15
3452
2
Sep 24
6521