BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Issam,
Thank you for your interest in Syncfusion products.
We have analyzed your reported scenario at our end. You can use GridGroupingControl to achieved this scenario. You can bind the datasource interior to GridGroupingControl and you can set the prices of each products with different prices and calculate the quantities and total amounts. Please refer the below link,
Link: http://help.syncfusion.com/ug/windows%20forms/default.htm#!documents/creatinggridgrouping.htm
Pivot Grid – We have maintained the separate link of controls. You can select the PivotGrid control from the list of control in the link. Please make use of below documentation link,
Link: http://help.syncfusion.com/windows%20forms
Please let us know if you have any concern.
Regards,
Muthukumar K
Hi Issam,
Thanks for your update.
On you mentioned dashboard sample, we have passed some random value to calculate the amount ((price * qty )-discount). Here we have modified the sample as per your need. Please refer the below code:
Code:
ProductSales sales = new ProductSales();
sales.Country = countries[r.Next(1, countries.GetLength(0))];
/// 1 percent discount for 1 quantity
sales.Quantity = 2;
sales.Amount = 30000 * sales.Quantity;
sales.Date = dates[r.Next(r.Next(dates.GetLength(0) + 1))];
sales.Product = products[r.Next(r.Next(products.GetLength(0) + 1))];
sales.TotalPrice = sales.Amount * sales.Quantity;
Please let us know if you have any concern.
Regards,
Muthukumar K