updateSelection(table, oldSelection, selection);
}
public void selectFirst(int selectedRowIndex, int selectedColumnIndex) {
BasicTable table = searchableComponent.getTable();
DataModel dataModel = table.getModel();
DataSearchResult searchResult = dataModel.getSearchResult();
DataSearchResultScrollPolicy scrollPolicy = DataSearchResultScrollPolicy.HORIZONTAL;
DataSearchResultMatch oldSelection = searchResult.getSelectedMatch();
DataSearchResultMatch selection = searchResult.selectFirst(selectedRowIndex, selectedColumnIndex, scrollPolicy);