You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@ All notable changes for each version of this project will be documented in this
8
8
-`IgxOverlayOutlet` directive introducedto mark an element as an `igxOverlay` outlet container. [ReadMe](https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/directives/toggle/README.md)
9
9
-`igxButtonGroup`
10
10
- Added the ability to define buttons directly in the template
11
+
-`IgxTextHighlightDirective`: The `highlight` method now has a new optional parameter called `exactMatch` (defaults to false).
12
+
- If its value is false, all occurrences of the search text will be highlighted in the group's value.
13
+
- If its value is true, the entire group's value should equals the search text in order to be highlighted (caseSensitive argument is respected as well).
14
+
-`IgxGrid`: The `findNext` and `findPrev` methods now have a new optional parameter called `exactMatch` (defaults to false).
15
+
- If its value is false, all occurrences of the search text will be highlighted in the grid's cells.
16
+
- If its value is true, the entire value of each cell should equals the search text in order to be highlighted (caseSensitive argument is respected as well).
Copy file name to clipboardExpand all lines: projects/igniteui-angular/src/lib/directives/text-highlight/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Provides a way to highlight text elements.
31
31
### Methods
32
32
| Name | Type | Arguments | Description |
33
33
| :--- |:--- | :--- | :--- |
34
-
| highlight | number | The text that should be highlighted and, optionally, if the search should be case sensitive or not (it defaults to false if it isn't specified). | Clears the existing highlight and highlight the searched text. Returns how many times the element contains the searched text. |
34
+
| highlight | number | The text that should be highlighted and, optionally, if the search should be case sensitive and/or an exact match (both default to false if they aren't specified). | Clears the existing highlight and highlight the searched text. Returns how many times the element contains the searched text. |
| activateIfNecessary | void | N/A | Activates the highlight if it is on the currently active row, column and page |
37
37
| setActiveHighlight (static)| void| The highlight group, the column, row and page of the directive and the index of the highlight | Activates the highlight at a given index (if such highlight exists) |
Copy file name to clipboardExpand all lines: projects/igniteui-angular/src/lib/grid/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -240,8 +240,8 @@ Here is a list of all public methods exposed by **igx-grid**:
240
240
|`deselectRows(rowIDs: any[])`|Removes the specified row(s) from the grid's selection in the `selectionAPI`.|
241
241
|`selectAllRows()`|Marks all rows as selected in the grid `selectionAPI`.|
242
242
|`deselectAllRows()`|Sets the grid's row selection in the `selectionAPI` to `[]`.|
243
-
|`findNext(text: string, caseSensitive?: boolean)`|Highlights all occurrences of the specified text and marks the next occurrence as active.|
244
-
|`findPrev(text: string, caseSensitive?: boolean)`|Highlights all occurrences of the specified text and marks the previous occurrence as active.|
243
+
|`findNext(text: string, caseSensitive?: boolean, exactMatch?: boolean)`|Highlights all occurrences of the specified text and marks the next occurrence as active.|
244
+
|`findPrev(text: string, caseSensitive?: boolean, exactMatch?: boolean)`|Highlights all occurrences of the specified text and marks the previous occurrence as active.|
245
245
|`clearSearch(text: string, caseSensitive?: boolean)`|Removes all search highlights from the grid.|
246
246
|`refreshSearch()`|Refreshes the current search.|
247
247
|`groupBy(expression: ISortingExpression)`| Groups by a new column based on the provided expression or modifies an existing one.
0 commit comments