Hi Infragistics !
I'm missing the method ".HasNextSibling" in class UltraDataRow, while this method exists in the class UltraGridRow.
e.g. : UltraGridRow rowNext = gridCell.Row.GetSibling(SiblingRow.Next);
So, how can I find out, if a UltraDataRow has a successor data row without running into a exception ?
Any advice or ideas you might have would be very welcome. Thanks in advance !
Kind regards,
Claus
Claus,
One solution would be to compare the index of the UltraDataRow with the total number of rows in the parent collection, such as:
if(row.Index < row.ParentCollection.Count - 1){
row = row.ParentCollection[row.Index + 1];
// Do things
}
-Matt