|This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.
wColumnCount property to get the total number of columns in the given object.
|A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
The property is applied to the following objects:
AngularUI Grid/, Borland String Grid, Borland TDBGrid and 36 more objects, Developer Express ExpressVerticalGrid, Developer Express WPF Grid, Developer Express XtraGrid, Developer Express XtraVerticalGrid, DevExpressXtraGridView, DevExpressXtraVerticalGridColumn, Ext JS Grid Panel, Flex DataGrid, Infragistics WebDataGrid, Infragistics WinGrid, Infragistics XamDataGrid, InfragisticsUltraGridView, InfragisticsWebDataGridView, Java Swing Table, JavaFX TableView, MFC Grid, Microsoft DataGrid, Microsoft DataGridView, Qt TableWidget, Rogue Wave Stingray Objective Grid, Rogue Wave Stingray Objective GridEx, SAP GUI ShellGridView, Silverlight Grid, Spark DataGrid, Syncfusion Essential Grid (GridGroupingControl), Syncfusion Grid Controls, SyncfusionEssGridView, Telerik RadGridView for Silverlight, Telerik RadGridView for WinForms, Telerik RadGridView for WPF, TMS TAdvStringGrid, WPF Toolkit DataGrid, XamDataGridView, Xceed Grid, YUI 2 DataTable, YUI 3 DataTable « Collapse the list
The total number of columns.
InfragisticsWinGridView object specifies a grid group, the
wColumnCount property returns the number of columns in the parent table of this group.
|Borland StringGrid, Borland TDBGrid
To work with the
Note that TestComplete does not support access to internal properties and methods of VCL controls in 64-bit C++Builder applications. Therefore, the property is inaccessible when testing Borland grid controls in such applications.
The property can also be unavailable to your scripts if it is not used in the application code - Smart Linker just removes it during compilation, since there are no references to it. To solve the problem, make sure the property is used in the application’s source code. For instance, you can add a virtual method to your application that calls the desired property (the compiler does not exclude virtual methods). For detailed information, see Object Properties, Fields and Methods That Are Unavailable to TestComplete.
|Borland TDBGrid, Microsoft DataGrid, Microsoft DataGridView, Infragistics WinGridView, DevExpress XtraGridView, Syncfusion EssGridView, WPFToolkit DataGrid, Xceed DotNetGrid, Silverlight DataGrid
The tested control can be configured so that some columns are hidden. So, the value of the
To view an example that demonstrates how to use the
wColumnCount property, see Iterating Through Rows in Infragistics UltraGrid.