Hi there,
I have a multi-banded wingrid in which the user would like to be able to expand and collapse the bands by clicking anywhere on a row, not just on the +/- indicator. Is this possible, and if so how?
Thanks, Shane
Hi Shane,
I assume, then, that the data in the rows is not editable? If clicking on the row expands or collapses the row, then that row would never be able to enter edit mode.
How you implement this will depend on a lot of other factors, such as the CellClickAction property, what version of the grid you are using, whether you need to allow the user to Select a row or multiple rows.
If you are using the latest version of the grid, then the place to start is probably the ClickCell event.
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e) { e.Cell.Row.Expanded = !e.Cell.Row.Expanded; }