Forum Discussion

dineshreddy_512's avatar
dineshreddy_512
New Contributor
13 years ago

how to check if a column is visible on a grid

I make a datagridcolumn invisible on certain conditions. How can I check if a column of a grid control is visible or not in Test complete script ?
  • dineshreddy_512's avatar
    13 years ago
    Hello Jay,

    Thanks for the reply. I got it working and I did use the native properties of the control. Just in case if someone needs an answer, here it is 



    WinFormsObject("gridControl").MainView.Columns.ColumnByName("gridColumnName").visible