跳至内容
菜单
此问题已终结
1 回复
2625 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
11月 20
18018
0
3月 17
2915
1
1月 24
15402
0
3月 15
4337
2
9月 24
8058