Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
9463 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
4939
1
thg 1 25
3792
5
thg 11 23
43285
3
thg 9 23
9616
1
thg 9 22
3905