Can HTML formatting be applied to Grid values?

2 posts, 0 answers
  1. bradley
    bradley avatar
    1 posts
    Member since:
    Apr 2017

    Posted 26 Apr 2017 Link to this post

    Using Grid with MVC works fine, but unless I missed it, there does not seem to be many choices for formatting such as bold text, resizing/larger text;  And When using MVC to make a simple table, I had used the html action link so that clicking on an item takes the browser to a specific page.  Is this not supported in Grid?

    for example, using this kind of html:   <td style="font-size: larger; font-weight: 700;">@Html.ActionLink("Click here to go to the page",  "index", "/home/index")</td>

    If not, is there another kind of Grid item available that does?

     

    Thanks

  2. Tsvetina
    Admin
    Tsvetina avatar
    2481 posts

    Posted 28 Apr 2017 Link to this post

    Hello Bradley,

    You can display links and other HTML elements in the Grid columns by using a template. The Grid FAQ article answers your questions:
    How to Customize the Way Properties Are Displayed in Grid-Bound Columns?
    How to Use Action Links?

    There are also other common scenarios explained in this article, so I recommend taking a look there when you have questions, which you think are about common functionality.

    Regards,
    Tsvetina
    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