Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Customizing the infragistic grid
posted

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

 

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children