Hi
I am having my data table
Project User Add Edit
1 A Yes No
1 B Yes Yes
1 C Yes Yes
I want the result in grid Like this
User A User B
Project Add Edit Add Edit
1 Yes No Yes Yes ......
How can i achieve this using ultrawinGrid?
Can any one send me a sample?
Thanks
The grid cannot alter the data structure like this. What you would have to do is create a DataSource that has the data in the structure you want and bind it to the grid. You could, for example, use the UltraDataSource of a BindingList<T> and copy your data from your data table into it.
Hi Mike,
I did'nt get it. How would you achive, that the grid will group some columns without displaying cells for those columns which should'nt contain data:
I dont' want to see the 3 columns above the "93". Do you know, what I mean?
sprinter
Hi Sprinter,
This doesn't seem to be the same issue as reported in the initial post for this thread. In the future, it's better to start a new thread for new topics.
Anyway, it looks like you are using columns as group headers here in a RowLayout. If you have the latest version of the grid, you no longer need to do that, because grouping support has been added to the grid in RowLayout mode.
But, if you must do this the old way, then what you have to do is set the column.RowLayoutColumnInfo.LabelPosition on those "group" columns to LabelOnly.
sorry for using the wrong thread - just thought it would be same issue. Anyway: thanks for your hint. That solved the problem.
Can you provide some kind of link to this new grouping-feature? Searching for grouping would lead to a lot of useless reading, I guess ;-).
Thanks!
sprinter252
Here's a link from to the online help topic from the What's New section of the NetAdvantage 2009 vol 1 help.
http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.1/CLR2.0/html/WinGrid_Grouping_Columns_in_Row_Layout_Mode_using_the_Designer.html