Setup Method (C1FlexGridRowDetail)
Used to setup control before showing of it.
The code below shows the hiding of unnecessary grid column:
public override void Setup(C1FlexGrid parentGrid, int rowIndex)
{
// calling base implementation
base.Setup(parentGrid, rowIndex);
// store C1FlexGrid columns in the variable
var cols = C1FlexGrid.Cols;
// hide third column
cols[3].Visible = false;
}