Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2770 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 20
18265
0
thg 3 17
3105
1
thg 1 24
15595
0
thg 3 15
4445
2
thg 9 24
8232