Home Forums WinForms controls Xceed Grid for WinForms Access contents Datasource of Xceed.Grid.GridControl Reply To: Access contents Datasource of Xceed.Grid.GridControl

User (Old forums)
Member
Post count: 23064

Hi Guys,

I hope this will help you all who are working Xceed grid with QTP.
This works.

Set accSumGrid = swfwindow(“CMD View”).SwfObject(“grid”).Object
Set myDs = accSumGrid.DataSource

For i= 0 to (myDs.Rows.Count -1)
For j = 0 to 3
msgbox myDs.Rows.Item(i).Item(j)
Next
Next

Have fun.
Rgds
Gopal

Imported from legacy forums. Posted by gopal (had 6184 views)