Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2819 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
One2many fields in tree views แก้ไขแล้ว
2
พ.ย. 20
18294
0
มี.ค. 17
3135
1
ม.ค. 24
15635
0
มี.ค. 15
4467
2
ก.ย. 24
8291