UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
IDataGrid Interface
A .NET Windows Forms data grid object.
Syntax
public interface IDataGrid : ICustomGrid  
Public Properties
 NameDescription
 PropertyRowsReturns collection of rows.  
 PropertyTableTestObjectReturns the ITable test object this custom grid was accessed from. (Inherited from HP.LFT.SDK.WinForms.ICustomGrid)
Top
Public Methods
 NameDescription
 MethodActivateColumnDouble-clicks the specified column header in this grid.  
 MethodBackNavigates back to parent table.  
 MethodCollapseRowCollapses the specified row.  
 MethodExpandRowExpands the specified row.  
 MethodHideParentRowHides the parent row when the child grid is displayed.  
 MethodOpenCellRelationOpens the child table referenced by the link in the specified cell.  
 MethodSelectColumnSelects (clicks) the specified column header in this grid.  
 MethodShowParentRowDisplays the parent row when the child grid is displayed.

You can use OpenCellRelation to display the child table of a selected cell. You can use HideParentRow to hide a displayed parent row.

 
Top