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

Can HTML formatting be applied to Grid values?

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bradley
Top achievements
Rank 1
bradley asked on 26 Apr 2017, 08:39 PM

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

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 28 Apr 2017, 11:12 AM
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.
Tags
Grid
Asked by
bradley
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or