Skip to content

Commit

Permalink
Adding frozenRow to DataTableProps #5288 (#5289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalorzo authored Nov 12, 2023
1 parent 6825a67 commit fb94e4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/datatable/DataTableBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ export const DataTableBase = ComponentBase.extend({
first: 0,
footer: null,
footerColumnGroup: null,
frozenRow: false,
frozenValue: null,
frozenWidth: null,
globalFilter: null,
Expand Down
4 changes: 4 additions & 0 deletions components/lib/datatable/datatable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,10 @@ interface DataTableBaseProps<TValue extends DataTableValueArray> extends Omit<Re
* ColumnGroup component for footer.
*/
footerColumnGroup?: React.ReactNode | undefined;
/**
* Whether the row is frozen or not.
*/
frozenRow?: boolean;
/**
* Items of the frozen part in scrollable DataTable.
*/
Expand Down

0 comments on commit fb94e4e

Please sign in to comment.