Rich Text Formating of cell contents using editor

2 posts, 0 answers
  1. John
    John avatar
    16 posts
    Member since:
    Jul 2016

    Posted 13 Dec 2016 Link to this post

    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

  2. Eyup
    Admin
    Eyup avatar
    4075 posts

    Posted 15 Dec 2016 Link to this post

    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.
Back to Top