Grid Custom Formatting
Id | Person | Description | Location | Price | Date |
679 | Rajesh | had at Diner | Diner | 23 £ | 11 January 2018 | Link | |||||
683 | Ben | had at Tavern | Tavern | 20 £ | 19 February 2018 | Link | |||||
687 | Justin | had at Central Perk | Central Perk | 45 £ | 01 March 2013 | Link | |||||
691 | Courtney | had at University | University | 79 £ | 13 September 2019 | Link | |||||
695 | Bernadette | had at Tavern | Tavern | 20 £ | 01 February 2012 | Link | |||||
699 | Timmy | had at Visit | Visit | 79 £ | 09 June 2014 | Link | |||||
703 | Claudia | had at University | University | 21 £ | 01 October 2009 | Link | |||||
707 | Mateo | had at Visit | Visit | 45 £ | 13 May 2013 | Link | |||||
711 | Gabrielle | had at Diner | Diner | 21 £ | 11 February 2013 | Link | |||||
715 | Jamie | had at Tavern | Tavern | 100 £ | 25 October 2017 | Link |
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.
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