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

how to implement the bold font in grid control.

1 Answer 574 Views
Grid
This is a migrated thread and some comments may be shown as answers.
quan
Top achievements
Rank 1
quan asked on 05 Mar 2013, 04:21 AM
hi.
   I have implemented a message box using kendoui grid control. I want to use template to implement bold font for showing un-read message. Can anyone tell me what should i do.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 06 Mar 2013, 07:50 PM
Hello Quan,

In order to achieve this you can use a rowTemplate (like in this online demo) and add some JavaScript code inside such template to check your condition (as shown in Kendo UI template demo). For example:
<script id="rowTemplate" type="text/x-kendo-tmpl">
    # if (//your condition) { #
    <tr style="font-weight: bold;">
    # } else { #
    <tr>
    # } #
       //....
</script>

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
quan
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or