Hi,
In my windows application I am using infragistic ultra grid with two bands as shown in the image.
The requirement is to have an appearence like the image given below.
Can we customize the infragistic grid like this ?.Any suggestions would be helpful.
Thanks,
Jithu
Okay, that's basically what I guessed was happening. The first band data is on the left and the second band data is combined into individual fields on the right.
So I think the approaches I outlined above are valid. I would probably go with a RowLayout and some unbound columns for the child band data.
Thanks Mike for reply.
Let me clarify the two imaged posted earlier.The first image with two bands is the already existing behaviour of the grid..One(Band(0)) is for showing activity details like title,start date,mode……. And the other(Band(1)) is for showing language booths.The requirement is like the grid will be having only one band and the details at band(0) of existing grid should come at the left.(Just like one column of the grid......).Please find the image below.
Thanks
Hi Jithu,
It's hard for me to relate these two images. I'm not sure, in the second image, what the columns are and which band they are from.
It seems to me like you could probably achieve something very similar to this in the grid using RowLayouts. But you would need to combine the data into a single band somehow.
There are a number of approaches you could take.
What I would do is bind the grid to your root band and then use unbound columns for the child band data. In the InitializeRow event of the grid, you would populate the unbound columns with data from the child row(s).
Another option would be to handle this on the data source end instead of in the grid. You could copy your data into another data source, like a DataTable or an UltraDataSource.
A third option would be to use UltraDataSource as a sort've intermediary between the real data and the grid. But this is essentially the same as using unbound columns, except that it's more complicated to implement. So it's probably not a good choice.