Data Grid - Column Templates

This module illustrates how you can use column templates to format cell values and provide custom data editors.

  • Availability column - DisplayTemplate formats cell values using check boxes and colored text. EditTemplate embeds a ComboBox control into the edit form.

  • Category column - DisplayTemplate builds a composite string and displays it in plain text. EditTemplate embeds another Data Grid to enable lookup functionality.

Review how values in the Availability and Category columns are formatted and try the Edit action to see the custom editors integrated into the edit form.

HL Road Frame - Black, 58
Components/Road Frames
HL Road Frame - Red, 58
Components/Road Frames
Sport-100 Helmet, Red
Accessories/Helmets
Sport-100 Helmet, Black
Accessories/Helmets
Mountain Bike Socks, M
Clothing/Socks
Mountain Bike Socks, L
Clothing/Socks
Sport-100 Helmet, Blue
Accessories/Helmets
AWC Logo Cap
Clothing/Caps
Long-Sleeve Logo Jersey, S
Clothing/Jerseys
Long-Sleeve Logo Jersey, M
Clothing/Jerseys

Data Grid - Row Preview Template

This demo illustrates how to use the Data Grid’s RowPreviewTemplate property to show preview sections under each data row across all columns. These sections can display any content, such as tables, images, values from data source fields, custom text, and so on.

Brett Wade IT Manager Sunday, December 1, 1968 Friday, March 6, 2009
Brett came to DevAv from Microsoft and has led our IT department since 2012. When he is not working hard for DevAV, he coaches Little League (he was a high school pitcher).
Cynthia Stanwick HR Assistant Wednesday, June 5, 1985 Monday, March 24, 2008
Cindy joined us in 2008 and has been in the HR department for 2 years. She was recently awarded employee of the month. Way to go Cindy!
Greta Sims HR Manager Tuesday, November 22, 1977 Thursday, April 23, 1998
Greta has been DevAV's HR Manager since 2003. She joined DevAV from Sonee Corp. Greta is currently training for the NYC marathon. Her best marathon time is 4 hours. Go Greta.
John Heart CEO Monday, March 16, 1964 Sunday, January 15, 1995
John has been in the Audio/Video industry since 1990. He has led DevAv as its CEO since 2003. When not working hard as the CEO, John loves to golf and bowl. He once bowled a perfect game of 300.
Kent Samuelson Ombudsman Monday, September 11, 1972 Wednesday, April 22, 2009
As our ombudsman, Kent is on the front-lines solving customer problems and helping our partners address issues out in the field. He is a classically trained musician and is a member of the Chamber Orchestra.
Kevin Carter Shipping Manager Monday, January 9, 1978 Tuesday, August 11, 2009
Kevin is our hard-working shipping manager and has been helping that department work like clockwork for 18 months. When not in the office, he is usually on the basketball court playing pick-up games.
Olivia Peyton Sales Assistant Wednesday, June 3, 1981 Monday, May 14, 2012
Olivia loves to sell. She has been selling DevAV products since 2012. Olivia was homecoming queen in high school. She is expecting her first child in 6 months. Good Luck Olivia.
Robert Reagan CMO Saturday, September 7, 1974 Friday, November 8, 2002
Robert was recently voted the CMO of the year by CMO Magazine. He is a proud member of the DevAV Management Team. Robert is a championship BBQ chef, so when you get the chance ask him for his secret recipe.
Sandra Johnson Controller Friday, November 15, 1974 Wednesday, May 11, 2005
Sandra is a CPA and has been our controller since 2008. She loves to interact with staff so if you've not met her, be certain to say hi. Sandra has 2 daughters both of whom are accomplished gymnasts.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙