跳至內容
選單
此問題已被標幟
1 回覆
2792 瀏覽次數

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
18274
0
3月 17
3116
1
1月 24
15611
0
3月 15
4456
2
9月 24
8258