We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid control (grouping+template coulumn TemplateID)

Hi guys,I try to use grouping. Here sample code, just copy it to VS and @{ ViewBag.Title = "Список продукции"; var datasource = new [] { new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, new {id = 0, Name = "", Portion = "", PackCount=1,CurrentPrice=40}, }; } Up arrow icon