hi, i've been researching this for a while but have not been able to clear an obstacle. I have a wingrid bound to a data source with a foreign key relationship. this works fine. However i cannot get away from using the +/- drill down.
i want the group by column to be merged and show the whole grid. do not want the drilldown basically. is this possible? maybe i have to remove the FK relationship from the data and just code the column to say merged?
thanks in advance
Allen
Hi Allen,
I don't understand what you want. The grid displays the data you give it. So if you give the grid a data source with a relationship, it will display the hierarchy. You can hide the child band using the Hidden property on the band if that's what you want.
But it's not clear to me what you are trying to do. And what does GroupBy have to do with it?
Are you really talking about the GroupBy functionality of the 'WinGrid' control or you are just referring to the hierarchy in this way? I am not sure if your issue is anyhow related to our control. If you want to present the data in some custom way, you could create a 'DataView' from the two tables and bind it to the grid.
Please feel free to let me know if I misunderstood you or if you have any other questions.