Grid Custom Formatting

Drag a column header and drop it here to group by that column
Id
Person
Description
Location
Price
Date
 
 
 
 
 
 
679Rajeshhad at DinerDiner
23 £
11 January 2018Link
683Benhad at TavernTavern
20 £
19 February 2018Link
687Justinhad at Central PerkCentral Perk
45 £
01 March 2013Link
691Courtneyhad at UniversityUniversity
79 £
13 September 2019Link
695Bernadettehad at TavernTavern
20 £
01 February 2012Link
699Timmyhad at VisitVisit
79 £
09 June 2014Link
703Claudiahad at UniversityUniversity
21 £
01 October 2009Link
707Mateohad at VisitVisit
45 £
13 May 2013Link
711Gabriellehad at DinerDiner
21 £
11 February 2013Link
715Jamiehad at TavernTavern
100 £
25 October 2017Link

Cell values can be evaluated on the client side using templates and js functions or on the server side using Map and setting a custom value (as shown here for the Date column).
The group header value can also be set on the server side, same applies for the footer.

  • Column.ClientFormat - Client format for the column defined as a string using .(ModelPropertyName) for including values of the row model.
  • Column.ClientFormatFunc - Defines the Name of a javascript function that will receive as a parameter the rowModel of the grid row and must return a string which will be used a value for the cell. The result of the javascript function will not be encoded.
  • RowClassClientFormat - used to set the class attribute for grid rows



Comments