I have attached a screenshot of what I am trying to accomplish. Disregard the the first group titled "Demographics". That is a topic for another discussion. I have managed to create a grid and bind it to an ultradatasource. My data is being grouped using outlookGroupBy by a field called 'SectionType'. Right now I am just prototyping with two different groups (Address and Phone). I have set the datasource up so it holds all the fields needed for both section types(ie: state, zip, city; areacode, phonenumber, ...). I want to show only the Address related fields in the Address group, and the Phone related fields in the Phone group. Is it possible to hide a column specifically just in one group but not another?
Or am I going about this in the wrong way? Is there a different approach you would suggest?
Thanks for your help.
dave
You cannot do this in UltraWinGrid. The data must be the same structure on any given level.
You might be able to acheive what you want using UltraWinTree, instead. The WinTree control can support non-homogenous data. But it doesn't have some of the data manipulation features that the grid has like summaries or filtering or grouping - so the grouping would have to be done manually.
I have achieved the desired "look" by using mulitple bands Then I am using outlookGroupBy to group the bands by the BandTYpe field, which I added to my data object. I use the ultradatasource and add rows to each band according to how many of the band specific items are stored in my data object. My data object has one row containing lists for each of the bands. This way, I can get the one blank row at the top with just a checkbox (band(0)). And I can add sub rows accordingly to each child band based on the count of objects contained in each band's list object.