Skip to content

Commit 417cc8c

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Update changelog.
1 parent 51faf9c commit 417cc8c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@ All notable changes for each version of this project will be documented in this
99
```ts
1010
this.carousel.select(2, Direction.NEXT);
1111
```
12+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
13+
- Added ability to pin individual columns to a specific side (start or end of the grid), so that you can now have pinning from both sides. This can be done either declaratively by setting the `pinningPosition` property on the column:
14+
15+
```html
16+
<igx-column [field]="'Col1'" [pinned]='true' [pinningPosition]='pinningPosition'>
17+
</igx-column>
18+
```
19+
20+
```ts
21+
public pinningPosition = ColumnPinningPosition.End;
22+
```
23+
24+
Or with the API, via optional parameter:
25+
26+
```ts
27+
grid.pinColumn('Col1', 0, ColumnPinningPosition.End);
28+
grid.pinColumn('Col2', 0, ColumnPinningPosition.Start);
29+
```
30+
31+
If property `pinningPosition` is not set on a column, the column will default to the position specified on the grid's `pinning` options for `columns`.
1232

1333
### General
1434
- `IgxDropDown` now exposes a `role` input property, allowing users to customize the role attribute based on the use case. The default is `listbox`.

0 commit comments

Comments
 (0)