Skip to content

Commit 8749bfe

Browse files
committed
chore: add comments to explain method
1 parent 36173fc commit 8749bfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/slick.dataview.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,12 @@ export class SlickDataView<TData extends SlickDataItem = any> implements CustomD
188188
}
189189
}
190190

191+
/** provide some refresh hints as to what to rows needs refresh */
191192
setRefreshHints(hints: DataViewHints) {
192193
this.refreshHints = hints;
193194
}
194195

196+
/** add extra filter arguments to the filter method */
195197
setFilterArgs(args: any) {
196198
this.filterArgs = args;
197199
}
@@ -930,6 +932,7 @@ export class SlickDataView<TData extends SlickDataItem = any> implements CustomD
930932
return groups;
931933
}
932934

935+
/** claculate Group Totals */
933936
protected calculateTotals(totals: SlickGroupTotals_) {
934937
const group = totals.group;
935938
const gi = this.groupingInfos[group.level ?? 0];

0 commit comments

Comments
 (0)