[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.ApplySearch

ApplySearch Method

ApplySearch(string, bool, bool, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with SearchHighlightMode argument instead.

Declaration
[Obsolete("Call method with HighlightMode argument instead.")]
public void ApplySearch(string search, bool highlight, bool filter, bool onlyVisibleColumns, bool onlyVisibleRows)
Parameters
Type Name Description
string search

Words which will be searched.

bool highlight

Defines will search results be highlighted or not.

bool filter

Defines will search results be filtered or not.

bool onlyVisibleColumns

Defines will perform search through only visible columns or not.

bool onlyVisibleRows

Defines will perform search through only visible rows or not.

ApplySearch(string, SearchHighlightMode, bool, bool, bool)

Applies search to the data on the grid.

Declaration
public void ApplySearch(string search, SearchHighlightMode highlightMode, bool filter, bool onlyVisibleColumns, bool onlyVisibleRows)
Parameters
Type Name Description
string search

Words which will be searched.

SearchHighlightMode highlightMode

Defines how to search results be highlighted.

bool filter

Defines will search results be filtered or not.

bool onlyVisibleColumns

Defines will perform search through only visible columns or not.

bool onlyVisibleRows

Defines will perform search through only visible rows or not.

ApplySearch(string, SearchHighlightMode, bool, bool, bool, out int)

Applies search to the data on the grid.

Declaration
public void ApplySearch(string search, SearchHighlightMode highlightMode, bool filter, bool onlyVisibleColumns, bool onlyVisibleRows, out int matchesCount)
Parameters
Type Name Description
string search

Words which will be searched.

SearchHighlightMode highlightMode

Defines how to search results be highlighted.

bool filter

Defines will search results be filtered or not.

bool onlyVisibleColumns

Defines will perform search through only visible columns or not.

bool onlyVisibleRows

Defines will perform search through only visible rows or not.

int matchesCount

Returns the number of matches.

ApplySearch(string, bool, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with HighlightMode argument instead.

Declaration
[Obsolete("Call method with HighlightMode argument instead.")]
public void ApplySearch(string search, bool highlight, bool filter, bool onlyVisibleColumns)
Parameters
Type Name Description
string search

Words which will be searched.

bool highlight

Defines will search results be highlighted or not.

bool filter

Defines will search results be filtered or not.

bool onlyVisibleColumns

Defines will perform search through only visible columns or not.

ApplySearch(string, SearchHighlightMode, bool, bool)

Applies search to the data on the grid.

Declaration
public void ApplySearch(string search, SearchHighlightMode highlightMode, bool filter, bool onlyVisibleColumns)
Parameters
Type Name Description
string search

Words which will be searched.

SearchHighlightMode highlightMode

Defines how to search results be highlighted.

bool filter

Defines will search results be filtered or not.

bool onlyVisibleColumns

Defines will perform search through only visible columns or not.

ApplySearch(string, bool, bool)

Applies search to the data on the grid. This method is obsolete. Call method with HighlightMode argument instead.

Declaration
[Obsolete("Call method with HighlightMode argument instead.")]
public void ApplySearch(string search, bool highlight, bool filter)
Parameters
Type Name Description
string search

Words which will be searched.

bool highlight

Defines will search results be highlighted or not.

bool filter

Defines will search results be filtered or not.

ApplySearch(string, SearchHighlightMode, bool)

Applies search to the data on the grid.

Declaration
public void ApplySearch(string search, SearchHighlightMode highlightMode, bool filter)
Parameters
Type Name Description
string search

Words which will be searched.

SearchHighlightMode highlightMode

Defines how to search results be highlighted.

bool filter

Defines will search results be filtered or not.

ApplySearch(string, SearchHighlightMode)

Applies search to the data on the grid.

Declaration
public void ApplySearch(string search, SearchHighlightMode highlightMode = SearchHighlightMode.OnlyFirst)
Parameters
Type Name Description
string search

Words which will be searched.

SearchHighlightMode highlightMode

Defines how to search results be highlighted.