Forum Discussion

kvooturi's avatar
kvooturi
Occasional Contributor
15 years ago

Infragistics ultragrid drag

Hi we have a infragistics ultragrid control.



How can I make a drag from a particualr row instead of  coordinates, I am doing  like this:

rownum =  ultraGrid.FindRow(1, "KV LBtest1")



or how can i find a coordinates of a row. please answer asap.
  • Hi,



    You can get bounds of the needed row by using the following code:

    Dim rowBounds

    rowNum = ultraGrid.FindRow(1, "KV LBtest1")

    Set rowBounds = ultraGrid.Rows.Item(rowNum).AccessibilityObject.Bounds




    See the "Bounds Object" help topic.