EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: erkin on July 12, 2017, 04:29:16 AM



Title: html in datagrid editor
Post by: erkin on July 12, 2017, 04:29:16 AM
Hello!
How to disable or process html tags in datagrid fields editor? For example, if set <b>some value</b> in datagrid field  text editor, after editing the field will be bold.


Title: Re: html in datagrid editor
Post by: Pierre on July 12, 2017, 06:02:00 AM
Please try <strong>some value</strong>


Title: Re: html in datagrid editor
Post by: erkin on July 12, 2017, 07:42:12 AM
Probable I incorrectly formulated the idea.
How to disable processing of the inputed value as HTML-markup, as text only?
By default inputed text interpret as HTML-markup and this can lead to errors.


Title: Re: html in datagrid editor
Post by: Pierre on July 12, 2017, 08:33:11 AM
You can check value on the "onEndEdit" event - if there are some html letters like < or > you can warn user..


Title: Re: html in datagrid editor
Post by: erkin on July 12, 2017, 11:51:55 PM
Thank you