We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Special characters < > causes data to be become missing in Grid

Thread ID:





121018 Nov 3,2015 01:49 PM UTC Nov 4,2015 08:32 AM UTC JavaScript 1
Tags: ejGrid
Rob ONeill
Asked On November 3, 2015 01:49 PM UTC

Some of our data gets removed / truncated when added to the Grid.

Say a column has data in it like "<defunct> data" ... when it is loaded into the Grid it shows as "data". When you export the grid it is fine and shown as "<defunct> data". Are special characters causing an issue for the Grid.

Cheers ... Rob.

Jayaprakash Kamaraj [Syncfusion]
Replied On November 4, 2015 08:32 AM UTC

Hi Rob,
We have achieved your requirement using “disableHtmlEncode” property, which is used to disable encoding html elements in records. Please refer to the below code example and Help document as below, 
Code example:

{ field: "CustomerID", headerText: 'Customer ID', validationRules: { required: true, minlength: 3 }, width: 90,disableHtmlEncode:true },

Help document:


sample : http://jsplayground.syncfusion.com/lwt5a5ra


Jayaprakash K.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon