Page 1 of 1

DataGrid.ColumnCount returns zero

Posted: Wed Sep 24, 2008 10:14 am
by adi_agrwl
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.

Posted: Wed Sep 24, 2008 12:41 pm
by Support Team
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