This is a migrated thread and some comments may be shown as answers.

Configurability of the grid, outerHtml?

2 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 03 Jul 2014, 03:13 PM
Hi
  How configurable is the Telerik Grid?

  I have just bound some json to the grid, the json includes some raw html, e.g. "<span class=MyClass>test</span>". It appears to bind to innerText so the '<span' shows on the screen. Is it possible to override this to bind to innerHtml instead?

thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 03 Jul 2014, 03:48 PM
Hello Anthony,

The Grid documentation and the encoded property are your friends in this case:

http://docs.telerik.com/kendo-ui/api/web/grid#configuration-columns.encoded

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anthony
Top achievements
Rank 1
answered on 04 Jul 2014, 06:42 AM
Yep, that works 

I tried searching for innerHTML and outerHTML but didn't think of searching for encoded

thanks
Tags
Grid
Asked by
Anthony
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Anthony
Top achievements
Rank 1
Share this question
or