DataGrid conditional styles and templates

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

Order Details

OrderID
ProductID
Product
Quantity
Discount
OrderID 10248 ProductID 11 Product Queso Cabrales Quantity 12
ProductID 42 Product Singaporean Hokkien Fried Mee Quantity 10
ProductID 72 Product Mozzarella di Giovanni Quantity 5
OrderID 10249 ProductID 14 Product Tofu Quantity 9
ProductID 51 Product Manjimup Dried Apples Quantity 40
OrderID 10250 ProductID 41 Product Jack's New England Clam Chowder Quantity 10
ProductID 51 Product Manjimup Dried Apples Quantity 35 Discount 15.00 %
ProductID 65 Product Louisiana Fiery Hot Pepper Sauce Quantity 15 Discount 15.00 %
OrderID 10251 ProductID 22 Product Gustaf's Knäckebröd Quantity 6 Discount 5.00 %
ProductID 57 Product Ravioli Angelo Quantity 15 Discount 5.00 %