Class $.wijmo.wijspread.SearchCondition
Constructor Attributes | Constructor Name and Description |
---|---|
Defines the search condition.
|
Class Detail
$.wijmo.wijspread.SearchCondition()
Defines the search condition.
var searchCondition = new $.wijmo.wijspread.SearchCondition(); searchCondition.searchString = "testSearch"; searchCondition.startSheetIndex = spread.getActiveSheetIndex(); searchCondition.endSheetIndex = spread.getActiveSheetIndex(); searchCondition.searchOrder = $.wijmo.wijspread.SearchOrder.NOrder; searchCondition.searchTarget = $.wijmo.wijspread.SearchFoundFlags.CellText; searchCondition.searchFlags = $.wijmo.wijspread.SearchFlags.Ignorecode| $.wijmo.wijspread.SearchFlags.UseWildCards; var searchresult= spread.search(searchCondition); var str ="[searchFoundFlag:"+ searchresult.searchFoundFlag+",\r\n foundSheetIndex:"+searchresult.foundSheetIndex+",foundRowIndex:" + searchresult.foundRowIndex+", foundColumnIndex:"+searchresult.foundColumnIndex+", foundString:"+searchresult.foundSheetIndex+"]"; alert(str);