How to set '/n' in the field of grid

2 posts, 0 answers
  1. Federico
    Federico avatar
    21 posts
    Member since:
    Oct 2017

    Posted 02 Nov 2017 Link to this post

    I would like to set the '/ n' in the response string and display it in the column without using the template.

    What should I write in ajax's response?

    '/n' doesn't work!



  2. Stefan
    Stefan avatar
    2564 posts

    Posted 06 Nov 2017 Link to this post

    Hello, Federico,

    If the desired result is to show the text on two lines without using the column.template I can suggest using the "<br/>" tag.

    This can be achieved by sending the tag as part of the response and setting the encoding to false:

    Progress Telerik
    Try our brand new, jQuery-free Angular 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