This question is locked. New answers and comments are not allowed.
Hi,
Is there a quick way of looping through all columns in a grid in DisplayIndex order?
Something like:
for (int i = 0; i < MyGrid.Columns.Count - 1; i++)
{
GridViewColumn myCol = TiltaksGrid.Columns.DisplayIndex[i];
//process myCol...
}
Thanks!
Is there a quick way of looping through all columns in a grid in DisplayIndex order?
Something like:
for (int i = 0; i < MyGrid.Columns.Count - 1; i++)
{
GridViewColumn myCol = TiltaksGrid.Columns.DisplayIndex[i];
//process myCol...
}
Thanks!