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

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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

Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 25
5573
1
thg 1 25
4167
5
thg 11 23
43947
3
thg 9 23
10052
1
thg 9 22
4349