DataGrid.ColumnCount returns zero : Automation API

DataGrid.ColumnCount returns zero

Class library usage, coding and language questions.

DataGrid.ColumnCount returns zero

Postby adi_agrwl » Wed Sep 24, 2008 11:14 am

Hi,

I am Aditya Agarwal working in Philips Healthcare. We are using our own custom grid control derived from DevExpress.XtraGrid.GridControl version 3.2.5.0. When I use the property CoulmnCount or other methods of the class DataGrid ,they don't work.

We are using Ranoex version 1.5.1.
adi_agrwl
 
Posts: 1
Joined: Wed Sep 24, 2008 10:54 am
Location: India

Postby Support Team » Wed Sep 24, 2008 1:41 pm

The DevExpress.XtraGrid.GridControl is not the same as a DataGrid.
I suggest that you use Elements to automate the control.
The rows, columns and headers are available as children of the Element representing the DevExpress.XtraGrid.GridControl.

Michael
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests