Hi,
Is it possible to configure RadGridView to have different child templates on the same level of hierarchical data rows? Or to have different columns collections for each group?
I want to accomplish something like this:
[Data model]
Class Flat
{
string name;
List<Room> rooms;
}
Class Room
{
string name;
bool table;
bool bath;
bool desk;
int walls;
}
[View]
1. Expandable rows with objects "Flat" (visible columns: Name)
2. Second hierarchy with rooms, but on this level different columns visible for every room type:
If room name is "Bathroom" then columns are: name, bath, walls.
If room name is "Saloon" then columns are: name, table, walls.
etc.
Is it feasible on one grid?
Best Regards
Krzysztof
Is it possible to configure RadGridView to have different child templates on the same level of hierarchical data rows? Or to have different columns collections for each group?
I want to accomplish something like this:
[Data model]
Class Flat
{
string name;
List<Room> rooms;
}
Class Room
{
string name;
bool table;
bool bath;
bool desk;
int walls;
}
[View]
1. Expandable rows with objects "Flat" (visible columns: Name)
2. Second hierarchy with rooms, but on this level different columns visible for every room type:
If room name is "Bathroom" then columns are: name, bath, walls.
If room name is "Saloon" then columns are: name, table, walls.
etc.
Is it feasible on one grid?
Best Regards
Krzysztof