DataGrid conditional styles and templates

This page demonstrates DataGrid with conditional rows and cells template/styles.

Order Details

OrderID
ProductID
Product
Quantity
Discount
OrderID10248ProductID11ProductQueso CabralesQuantity12
ProductID42ProductSingaporean Hokkien Fried MeeQuantity10
ProductID72ProductMozzarella di GiovanniQuantity5
OrderID10249ProductID14ProductTofuQuantity9
ProductID51ProductManjimup Dried ApplesQuantity40
OrderID10250ProductID41ProductJack's New England Clam ChowderQuantity10
ProductID51ProductManjimup Dried ApplesQuantity35Discount15.00 %
ProductID65ProductLouisiana Fiery Hot Pepper SauceQuantity15Discount15.00 %
OrderID10251ProductID22ProductGustaf's KnäckebrödQuantity6Discount5.00 %
ProductID57ProductRavioli AngeloQuantity15Discount5.00 %
12345