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

Covert to text to upper case

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kedar
Top achievements
Rank 1
Kedar asked on 31 Aug 2012, 11:22 AM
Hi,

I will need to covert column text to upper case, can this be done using format option of the grid column?

thanks,
Kedar.

1 Answer, 1 is accepted

Sort by
0
Pedro
Top achievements
Rank 2
answered on 04 Sep 2012, 07:23 PM
Use the .ClientTemplate Method mixed with some CSS goodness.

.Columns(columns =>
 {
  columns.Bound(c => c.CustomerName)
   .ClientTemplate("<span style='text-transform: uppercase'><#= CustomerName #></span>")
   //ommited for brevity
 })

Pedro
Tags
Grid
Asked by
Kedar
Top achievements
Rank 1
Answers by
Pedro
Top achievements
Rank 2
Share this question
or