Column Templates

This module illustrates how you can use column templates to format cell values and specify 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
Sport-100 Helmet, Black
Mountain Bike Socks, M
Mountain Bike Socks, L
Sport-100 Helmet, Blue
AWC Logo Cap
Long-Sleeve Logo Jersey, S
Long-Sleeve Logo Jersey, M

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.
Mehul Harry Web Program Manager Sunday, December 1, 1968 Friday, March 6, 2009
Mehul has your first clue for the .NET Conf treasure hunt. See the navigation tree on the left. Go to the “Scheduler / View Types” demo and look for the .NET Conf appointment. That appointment holds your next clue. Good luck!
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.