Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
649
how to identify & compare the column name in the data grid using VP.
posted
hi,

how to identify & compare the column name in the data grid using VP.

can anyone help me??

thanks in advance.

Rekha.
Parents
  • 6729
    Offline posted

    Do you mean column key or column header.

     

    You can actually use GetNAProperty method of the grid test object to get any property, so to get the column header of the first column:

    Dim headerString as String

    Dim ColumnKey as String

    headerString = CSTR(UltraGrid().GetNAProperty("Rows[0].Cells[0].Column.Header.Caption"))

    ColumnKey = CSTR(UltraGrid().GetNAProperty("Rows[0].Cells[0].Column.Key"))

    I hope that will help you,

    Ammar

Reply Children