File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
projects/igniteui-angular/src/lib/grids/common Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,20 @@ export interface IRowToggleEventArgs extends IBaseEventArgs {
119
119
cancel : boolean ;
120
120
}
121
121
122
+ /**
123
+ * Event emitted when a row's pin state changes.
124
+ */
122
125
export interface IPinRowEventArgs extends IBaseEventArgs {
123
- row : IgxRowDirective < IgxGridBaseDirective & GridType > ;
126
+ /** The row component instance, that was pinned/unpinned.
127
+ * May be undefined if row does not exist in the current visible data.
128
+ */
129
+ row ?: IgxRowDirective < IgxGridBaseDirective & GridType > ;
130
+ /** The ID of the row, that was pinned/unpinned.
131
+ * ID is either the primaryKey value or the data record instance.
132
+ */
124
133
rowID : any ;
134
+ /** The index at which to pin the row in the pinned rows collection. */
125
135
insertAtIndex ?: number ;
136
+ /** Whether or noy the row is pinned or unpinned. */
126
137
isPinned : boolean ;
127
138
}
You can’t perform that action at this time.
0 commit comments