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

Rich Text Formating of cell contents using editor

1 Answer 348 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 Dec 2016, 10:07 PM

I'm using a Kendo grid and want to be able to edit cell contents and apply Text Coloring and Strike-Through to the text within any given grid cell. 

"some initial text" to be changed to "some altered initial text" with the word "altered" being red and the word "initial" being red and strike-though.

Any ideas how to achieve functionality like this?

 

See attached image for example.

 

Thanks,

John

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 15 Dec 2016, 05:25 PM
Hi John,

You can achieve this requirement using span elements in the ClientTemplate:
http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/grid/faq#how-to-apply-conditional-logic-in-column-client-templates

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or