EasyUI Forum
May 07, 2024, 08:59:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: html in datagrid editor  (Read 4544 times)
erkin
Newbie
*
Posts: 29


View Profile
« 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.
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #1 on: July 12, 2017, 06:02:00 AM »

Please try <strong>some value</strong>
Logged
erkin
Newbie
*
Posts: 29


View Profile
« Reply #2 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.
« Last Edit: July 12, 2017, 07:46:35 AM by erkin » Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #3 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..
Logged
erkin
Newbie
*
Posts: 29


View Profile
« Reply #4 on: July 12, 2017, 11:51:55 PM »

Thank you
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!