Hello
I have a grid that (simplifying the example for illustration purposes) contains two rows in the main band (lets call the main band "Query"). Each row contains a subband (lets call it "Results"). The first column of the subbands is of type string and the remaining (data-dependent) columns are of type double.
I need this:
The first row's subband to contain 4 data-dependent columns (plus the first string column)
and
the second row's subband to contain 8 data-dependent columns (plus the first string column).
Is this possible? What I seem to end up with is the subbands of both rows (in the first band) contain 8 data-dependent columns, with the first row's 'extra' 'unwanted' columns being left blank.
Kind regards
Kostas.
No that's fine, many thanks for your answers!
Hello Kostas,
Please let us know if you have any other questions with this matter.Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
One way would to handle this would be to add a child band for every parent row - or at least for every possible child row structure.
Each parent row would then have a lot of child bands, but it would only have child rows in one of those bands, so it would look like what you want.
There are a few down sides to this approach. For one thing, having a large number of child bands may cause some performance problems and slow down your application. For another, if you want to apply any appearances or properties to the child band, you have to apply the same settings to all of them.
Personally, I would not recommend this, unless you are dealing with a relatively small, finite number of rows.
What doesn't make sense? I just want the second band's columns to be independent / different for each parent row (i.e. rows 1 and two of band "Query" in my example).
I understand this functionality does not exist in the windgrid as it stands, I was just wondering if there are other ways to do it.
It doesn't make sense since the second band is using the same object type for all rows. You need to create three bands for that. The second and third bands need to contain one row.
However, you can also hide cells so it will look like there is no column there.