Skip to content

Commit e4f85da

Browse files
committed
Update data-interception attribute
1 parent 2f0771b commit e4f85da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/declarative-customization/column-formatting.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ This example shows how to turn a text field that contains stock ticker symbols i
309309
}
310310
```
311311

312+
> [!TIP]
313+
> In a List Web Part, the above anchor tag will navigate user to a new tab. In order to navigate within the same tab, add `data-interception` attribute and set it to `on`. [More information about data-interception attibute.](../spfx/hyperlinking.md)
314+
315+
312316
### Add an action button to a field (advanced)
313317

314318
The following image shows action buttons added to a field.
@@ -1170,6 +1174,7 @@ An optional property that specifies additional attributes to add to the element
11701174
- iconName
11711175
- d
11721176
- aria
1177+
- data-interception
11731178

11741179
Any other attribute name will result in an error. Attribute values can either be Expression objects or strings. The following example adds two attributes (`target` and `href`) to the element specified by `elmType`. The `target` attribute is hard-coded to a string. The `href` attribute is an expression that will be evaluated at runtime to http://finance.yahoo.com/quote/ + the value of the current field (`@currentField`).
11751180

0 commit comments

Comments
 (0)