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

hiii,

i need field on which apply widget=html. but didnt work with tree view.

if any one have any idea about how to display html field in tree view then please let me know.

 E.g: it is display like "<p><strong><strong>[A51090]</span></strong></strong></p>" instded of display in Bold [A51090]

thank you.

อวตาร
ละทิ้ง

I think html widget would not work for tree view because html widget defined only in the view_form.js not in view_tree.js

ผู้เขียน

it is posibble if we decode data of tree view field(widget=html).? so we can display in bold ?

คำตอบที่ดีที่สุด

change the field into Fields.Html(), it will works.


อวตาร
ละทิ้ง

oh, I misunderstand.
it better to add a char-compute-field witch depends on the html-field.
Let new field = html-field.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 25
4949
1
ม.ค. 25
3795
5
พ.ย. 23
43290
Create dynamic tree view แก้ไขแล้ว
3
ก.ย. 23
9618
1
ก.ย. 22
3907