public String [ ] getRow ( String searchText ) { String [ ] rowElements = null ; GridRow row = new GridRow ( this , searchText , getSearchColumnId ( ) , SearchType . CONTAINS ) ; String text = row . getText ( ) ; if ( text != null ) { rowElements = text . split ( "\n" ) ; } return rowElements ; }
returns all text elements from a grid