跳至内容
菜单
此问题已终结
1 回复
9485 查看

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.

相关帖文 回复 查看 活动
3
4月 25
4952
1
1月 25
3798
5
11月 23
43296
3
9月 23
9619
1
9月 22
3910