Hi,
I need to rank my rows in a grid on the if the value in one column is not 9999 and the grid is sorted as the rows should be ranked I tried to add an unbound column and a formula that shows the visible index as a ranking but I don't seem to get in working.
Any Ideas
Hello Ronny,
Do you have the unbound field displayed currently?
From my understanding you wish to have an unbound column that provides the visible index of the rows regardless if the grid is sorted, etc. If so, you can hook the grid's InitializeRow event and update the unbound field's cell's with it's VisibleIndex property.
private void ultraGrid1_InitializeRow( object sender, InitializeRowEventArgs e) { e.Row.Cells["Calculated_COLUMN"].Value = e.Row.VisibleIndex.ToString();
; }