gd.enableXSSValidation

This property is in the first place meant to protect against XSS attacks. Use this property to block submission of html based data into a grid cell (string or textarea). 

Class

grid

Property

gd.enableXSSValidation

Formal specification

gd.enableXSSValidation= false | true

Required

no

Default

false

Version

1.12

Comment

  • when enableXSSValidation is set to true, and the user submits a string which contains html type of tags, submission will be blocked with a notification to the user. 

  • Take care of the fact that if the gd.query results contain html type of text, you might block the user



Example





Reference