bernardmanning
Programmer
Hi,
Is it possible to create a grid for a winform that has a different number of columns for a certain row type?
If my grid row has 5 columns in total but for certain rows depending on some price of criterai I only want to see 2 and for other rows I need to see all 5.
as an example if I had a grid that was showing vehicle types ;
Wheel 1 Wheel 2 Wheel 3 Wheel 4
Car Y Y Y Y
Motorbike Y Y - -
Tricycle Y Y Y -
Unicycle Y - - -
Person - - - -
Where we have a '-' I would want to hide the column cell as it's not applicable.
Anybody got any ideas?
Thanks, Bernard....
Is it possible to create a grid for a winform that has a different number of columns for a certain row type?
If my grid row has 5 columns in total but for certain rows depending on some price of criterai I only want to see 2 and for other rows I need to see all 5.
as an example if I had a grid that was showing vehicle types ;
Wheel 1 Wheel 2 Wheel 3 Wheel 4
Car Y Y Y Y
Motorbike Y Y - -
Tricycle Y Y Y -
Unicycle Y - - -
Person - - - -
Where we have a '-' I would want to hide the column cell as it's not applicable.
Anybody got any ideas?
Thanks, Bernard....