var data = [{ "Id": 11074, "OrderDate": 42647, "RequiredDate": 35949, "ShipVia": 2, "Freight": 18.44, "ShipName": "Simons bistro", "ShipAddress": "Vinbæltet 34", "ShipCity": "Kobenhavn", "ShipPostalCode": "1734", "ShipCountry": "Denmark", "Employee": "Laura Callahan", "Customer": "Simons bistro", "ProductId": 16, "UnitPrice": 17.45, "Quantity": 14, "Discount": 0.05 },
{ "Id": 11075, "OrderDate": 42648, "RequiredDate": 35949, "ShipVia": 2, "Freight": 6.19, "ShipName": "Richter Supermarkt", "ShipAddress": "Starenweg 5", "ShipCity": "Genève", "ShipPostalCode": "1204", "ShipCountry": "Switzerland", "Employee": "Anne Dodsworth", "Customer": "Richter Supermarkt", "ProductId": 2, "UnitPrice": 19, "Quantity": 10, "Discount": 0.15 },
{ "Id": 11075, "OrderDate": 42649, "RequiredDate": 35949, "ShipVia": 2, "Freight": 6.19, "ShipName": "Richter Supermarkt", "ShipAddress": "Starenweg 5", "ShipCity": "Genève", "ShipPostalCode": "1204", "ShipCountry": "Switzerland", "Employee": "Anne Dodsworth", "Customer": "Richter Supermarkt", "ProductId": 46, "UnitPrice": 12, "Quantity": 30, "Discount": 0.15 },
{ "Id": 11075, "OrderDate": 42650, "RequiredDate": 35949, "ShipVia": 2, "Freight": 6.19, "ShipName": "Richter Supermarkt", "ShipAddress": "Starenweg 5", "ShipCity": "Genève", "ShipPostalCode": "1204", "ShipCountry": "Switzerland", "Employee": "Anne Dodsworth", "Customer": "Richter Supermarkt", "ProductId": 76, "UnitPrice": 18, "Quantity": 2, "Discount": 0.15 },
{ "Id": 11076, "OrderDate": 42651, "RequiredDate": 35949, "ShipVia": 2, "Freight": 38.28, "ShipName": "Bon app'", "ShipAddress": "12, rue des Bouchers", "ShipCity": "Marseille", "ShipPostalCode": "13008", "ShipCountry": "France", "Employee": "Steven Buchanan", "Customer": "Bon app", "ProductId": 6, "UnitPrice": 25, "Quantity": 20, "Discount": 0.25 },
{ "Id": 11076, "OrderDate": 42654, "RequiredDate": 35949, "ShipVia": 2, "Freight": 38.28, "ShipName": "Bon app'", "ShipAddress": "12, rue des Bouchers", "ShipCity": "Marseille", "ShipPostalCode": "13008", "ShipCountry": "France", "Employee": "Steven Buchanan", "Customer": "Bon app", "ProductId": 14, "UnitPrice": 23.25, "Quantity": 20, "Discount": 0.25 },
{ "Id": 11076, "OrderDate": 42656, "RequiredDate": 35949, "ShipVia": 2, "Freight": 38.28, "ShipName": "Bon app'", "ShipAddress": "12, rue des Bouchers", "ShipCity": "Marseille", "ShipPostalCode": "13008", "ShipCountry": "France", "Employee": "Steven Buchanan", "Customer": "Bon app", "ProductId": 19, "UnitPrice": 9.2, "Quantity": 10, "Discount": 0.25 },
{ "Id": 11077, "OrderDate": 42657, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 2, "UnitPrice": 19, "Quantity": 24, "Discount": 0.2 },
{ "Id": 11077, "OrderDate": 42658, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 3, "UnitPrice": 10, "Quantity": 4, "Discount": 0 },
{ "Id": 11077, "OrderDate": 42661, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 4, "UnitPrice": 22, "Quantity": 1, "Discount": 0 },
{ "Id": 11077, "OrderDate": 42662, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 13, "UnitPrice": 6, "Quantity": 4, "Discount": 0 },
{ "Id": 11077, "OrderDate": 42663, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 14, "UnitPrice": 23.25, "Quantity": 1, "Discount": 0.03 },
{ "Id": 11077, "OrderDate": 42765, "RequiredDate": 35949, "ShipVia": 2, "Freight": 8.53, "ShipName": "Rattlesnake Canyon Grocery", "ShipAddress": "2817 Milton Dr.", "ShipCity": "Albuquerque", "ShipRegion": "NM", "ShipPostalCode": "87110", "ShipCountry": "USA", "Employee": "Andrew Fuller", "Customer": "Rattlesnake Canyon Grocery", "ProductId": 16, "UnitPrice": 17.45, "Quantity": 2, "Discount": 0.03 },
{ "Id": 11038, "OrderDate": 42769, "RequiredDate": 35934, "ShippedDate": 35915, "ShipVia": 2, "Freight": 29.59, "ShipName": "Suprêmes délices", "ShipAddress": "Boulevard Tirou, 255", "ShipCity": "Charleroi", "ShipPostalCode": "B-6000", "ShipCountry": "Belgium", "Employee": "Andrew Fuller", "Customer": "Suprêmes délices", "ProductId": 40, "UnitPrice": 18.4, "Quantity": 5, "Discount": 0.2 },
{ "Id": 11038, "OrderDate": 42771, "RequiredDate": 35934, "ShippedDate": 35915, "ShipVia": 2, "Freight": 29.59, "ShipName": "Suprêmes délices", "ShipAddress": "Boulevard Tirou, 255", "ShipCity": "Charleroi", "ShipPostalCode": "B-6000", "ShipCountry": "Belgium", "Employee": "Andrew Fuller", "Customer": "Suprêmes délices", "ProductId": 52, "UnitPrice": 7, "Quantity": 2, "Discount": 0 },
{ "Id": 11038, "OrderDate": 42772, "RequiredDate": 35934, "ShippedDate": 35915, "ShipVia": 2, "Freight": 29.59, "ShipName": "Suprêmes délices", "ShipAddress": "Boulevard Tirou, 255", "ShipCity": "Charleroi", "ShipPostalCode": "B-6000", "ShipCountry": "Belgium", "Employee": "Andrew Fuller", "Customer": "Suprêmes délices", "ProductId": 71, "UnitPrice": 21.5, "Quantity": 30, "Discount": 0 }
];
Then we can change the header template (which is used for the actual days in the calendar) and the row template (which is used for the “details” dialog):