Hai To All,
I m using Infragisctics 2008 volume 3. I want to create a grid (cross tab grid). How to create it. Is there any sample code to create it? Is it possible to generate it in run time? Thanks in advance.
What exactly do you mean by a "cross tab grid"? How does this differ from a regular grid?
Hai McDonald,
Cross Tab Grid is just like matrix report.
I my dataset i have value like following :
Branch Customer Amount
Branch A Customer A 1200
Branch A Cusomer B 1500
Branch B Customer A 2000
Branch B Customer B 2500
I want to display this values in the grid as below :
Customer A Customer B
Branch A 1200 1500
Branch B 2000 2500
Is it possible ?
Thanks in advance
You can get a similar result in WinGrid by using its Outlook Group-By functionality.
Given your sample data, you'd group the grid by the "Customer" column. This will give you a result like the following:
+ Customer: A (2) Branch Amount Branch A 1200 Branch B 2000+Customer: B (2) Branch Amount Branch A 1500 Branch B 2500
If you want a result that appears more like the one you've listed in your previous post, you should instead create a new DataTable, where you've already created separate columns for Customer A and Customer B. You can then bind this DataTable to WinGrid.
Hi Vince McDonald,
i am in need of creating a Cross Tab Grid in Web, can i follow the same instruction as for wingrid.
I need instructions for doing the web based cross tab grid using infrajustics webcontrols 2009 vol 2
With Regards
V.G.Selvakumar
Senior Software Programmer
You should post your question in the WebGrid forum.