Hi!
You can also move flexgrid rows (not nodes).
If you want to swap to rows, I can provide you with a bit of code. Hope this helps
Wolfgang
=======================
public static void SwapRow(C1FlexGrid _flexGrid, int _intRow1, int _intRow2)
{
if (_intRow1 == _intRow2)
return;
if (_intRow1 > _intRow2)
{
int intTemp = _intRow1;
_intRow1 = _intRow2;
_intRow2 = intTemp;
}
//Swap Row1 with it's neighbour until we reach Row2:
for (int intIndexRow = _intRow1; intIndexRow
{
_flexGrid.Rows.Move(intIndexRow, intIndexRow + 1);
}
//Now backwards: move row2 to it's target position:
for (int intIndexRow = _intRow2 - 1; intIndexRow > _intRow1; intIndexRow--)
{
_flexGrid.Rows.Move(intIndexRow, intIndexRow - 1);
}
}