searchCell
Description
지정한 필드들의 값에 해당하는 셀을 찾아 CellIndex를 반환한다.
Syntax
function searchCell(options)
Parameters
options
Type: object
SearchOptions 모델로 지정한다.
Return value
Type: CellIndex
검색된 CellIndex
Examples
function searchHandler() {
var value = $("#searchTxt").val();
var fields = [ "RequestType", "ServiceCode" ];
var startFieldIndex = fields.indexOf(gridView.getCurrent().fieldName) + 1;
var options = {
fields : fields,
value : value,
startIndex : gridView.getCurrent().itemIndex,
startFieldIndex : startFieldIndex,
wrap : true,
caseSensitive : false,
partialMatch : true
};
var index = gridView.searchCell(options);
gridVeiw.setCurrent(index);
}
RealGrid HELP