module GxtWidgets::Platforms::SeleniumWebDriver::GxtGridHeaderRow
Public Instance Methods
[](idx)
click to toggle source
Return the PageObject::Elements::TableCell for the index provided. Index is zero based. If the index provided is a String then it will be matched with the text from the columns in the first row. The text can be a substring of the full column text.
# File lib/gxt-widgets/platforms/selenium_webdriver/gxt_grid_header_row.rb, line 13 def [](idx) els = table_cells idx = find_index_by_title(idx) if idx.kind_of?(String) return nil unless idx && columns >= idx + 1 initialize_cell(els[idx], :platform => :selenium_webdriver) end