Forum Discussion

jmoe's avatar
jmoe
Contributor
3 years ago

JTableHeader - Control does not contain JTable properties

Hello,

By default JTableHeader is a correctly configured control in TestComplete that falls under a Table in Object Mapping Swing controls.  So I expected similar properties as a JTable to be available.  However, in our application, when accessing the JTableHeader, JTable properties such as wColumn, wColumnCount are not available.  I did find a native method (getTable()) that returns a JTable object, but then what do I do with that in order to use TestComplete API on that object?  Please advise of the best path forward.

 

Thanks.

3 Replies