Not had much experience of the DGV, but think I'm using it outside of it's intended scope and pushing it too far, so open to suggestions for alternatives if someone can think of one...
I populate it with a set of items of a known maximum size, which worked fine when the description for each item belonged to the same row in the view. This meant I could just hide the rows when not applicable.
However, I now want to pull the descriptions out into a static list and have a number of DGVs showing applicable items in multiple lists based on other conditions. This creates the problem of not being able to hide rows in the variable columns, as they then wouldn't correspond with the description in the static list.
Soooo, is there a way of disabling a row (as in greying it out) or preventing the checkbox in the row from being selected? I can't seem to seem to find a nice method for either of these solutions...?
Let me know if I'm not making any sense!
I populate it with a set of items of a known maximum size, which worked fine when the description for each item belonged to the same row in the view. This meant I could just hide the rows when not applicable.
However, I now want to pull the descriptions out into a static list and have a number of DGVs showing applicable items in multiple lists based on other conditions. This creates the problem of not being able to hide rows in the variable columns, as they then wouldn't correspond with the description in the static list.
Soooo, is there a way of disabling a row (as in greying it out) or preventing the checkbox in the row from being selected? I can't seem to seem to find a nice method for either of these solutions...?
Let me know if I'm not making any sense!