@@ -271,6 +271,7 @@ export type MRT_TableInstance<TData extends MRT_RowData> = Omit<
271
271
| 'getColumn'
272
272
| 'getExpandedRowModel'
273
273
| 'getFlatHeaders'
274
+ | 'getFooterGroups'
274
275
| 'getHeaderGroups'
275
276
| 'getLeafHeaders'
276
277
| 'getLeftLeafColumns'
@@ -293,6 +294,7 @@ export type MRT_TableInstance<TData extends MRT_RowData> = Omit<
293
294
getColumn : ( columnId : string ) => MRT_Column < TData > ;
294
295
getExpandedRowModel : ( ) => MRT_RowModel < TData > ;
295
296
getFlatHeaders : ( ) => MRT_Header < TData > [ ] ;
297
+ getFooterGroups : ( ) => MRT_HeaderGroup < TData > [ ] ;
296
298
getHeaderGroups : ( ) => MRT_HeaderGroup < TData > [ ] ;
297
299
getLeafHeaders : ( ) => MRT_Header < TData > [ ] ;
298
300
getLeftLeafColumns : ( ) => MRT_Column < TData > [ ] ;
@@ -920,18 +922,27 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
920
922
table : MRT_TableInstance < TData > ;
921
923
} ) => CircularProgressProps & { Component ?: ReactNode } )
922
924
| ( CircularProgressProps & { Component ?: ReactNode } ) ;
925
+ /**
926
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
927
+ */
923
928
muiColumnActionsButtonProps ?:
924
929
| ( ( props : {
925
930
column : MRT_Column < TData > ;
926
931
table : MRT_TableInstance < TData > ;
927
932
} ) => IconButtonProps )
928
933
| IconButtonProps ;
934
+ /**
935
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
936
+ */
929
937
muiColumnDragHandleProps ?:
930
938
| ( ( props : {
931
939
column : MRT_Column < TData > ;
932
940
table : MRT_TableInstance < TData > ;
933
941
} ) => IconButtonProps )
934
942
| IconButtonProps ;
943
+ /**
944
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
945
+ */
935
946
muiCopyButtonProps ?:
936
947
| ( ( props : {
937
948
cell : MRT_Cell < TData > ;
@@ -958,6 +969,9 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
958
969
table : MRT_TableInstance < TData > ;
959
970
} ) => DialogProps )
960
971
| DialogProps ;
972
+ /**
973
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
974
+ */
961
975
muiEditTextFieldProps ?:
962
976
| ( ( props : {
963
977
cell : MRT_Cell < TData > ;
@@ -976,45 +990,66 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
976
990
table : MRT_TableInstance < TData > ;
977
991
} ) => IconButtonProps )
978
992
| IconButtonProps ;
993
+ /**
994
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
995
+ */
979
996
muiFilterAutocompleteProps ?:
980
997
| ( ( props : {
981
998
column : MRT_Column < TData > ;
982
999
table : MRT_TableInstance < TData > ;
983
1000
} ) => AutocompleteProps < any , any , any , any > )
984
1001
| AutocompleteProps < any , any , any , any > ;
1002
+ /**
1003
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1004
+ */
985
1005
muiFilterCheckboxProps ?:
986
1006
| ( ( props : {
987
1007
column : MRT_Column < TData > ;
988
1008
table : MRT_TableInstance < TData > ;
989
1009
} ) => CheckboxProps )
990
1010
| CheckboxProps ;
1011
+ /**
1012
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1013
+ */
991
1014
muiFilterDatePickerProps ?:
992
1015
| ( ( props : {
993
1016
column : MRT_Column < TData > ;
994
1017
rangeFilterIndex ?: number ;
995
1018
table : MRT_TableInstance < TData > ;
996
1019
} ) => DatePickerProps < never > )
997
1020
| DatePickerProps < never > ;
1021
+ /**
1022
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1023
+ */
998
1024
muiFilterDateTimePickerProps ?:
999
1025
| ( ( props : {
1000
1026
column : MRT_Column < TData > ;
1001
1027
rangeFilterIndex ?: number ;
1002
1028
table : MRT_TableInstance < TData > ;
1003
1029
} ) => DateTimePickerProps < never > )
1004
1030
| DateTimePickerProps < never > ;
1031
+ /**
1032
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1033
+ */
1005
1034
muiFilterSliderProps ?:
1006
1035
| ( ( props : {
1007
1036
column : MRT_Column < TData > ;
1008
1037
table : MRT_TableInstance < TData > ;
1009
1038
} ) => SliderProps )
1010
1039
| SliderProps ;
1040
+ /**
1041
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1042
+ */
1011
1043
muiFilterTextFieldProps ?:
1012
1044
| ( ( props : {
1013
1045
column : MRT_Column < TData > ;
1014
1046
rangeFilterIndex ?: number ;
1015
1047
table : MRT_TableInstance < TData > ;
1016
1048
} ) => TextFieldProps )
1017
1049
| TextFieldProps ;
1050
+ /**
1051
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1052
+ */
1018
1053
muiFilterTimePickerProps ?:
1019
1054
| ( ( props : {
1020
1055
column : MRT_Column < TData > ;
@@ -1064,6 +1099,9 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
1064
1099
table : MRT_TableInstance < TData > ;
1065
1100
} ) => CheckboxProps | RadioProps )
1066
1101
| ( CheckboxProps | RadioProps ) ;
1102
+ /**
1103
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1104
+ */
1067
1105
muiSkeletonProps ?:
1068
1106
| ( ( props : {
1069
1107
cell : MRT_Cell < TData > ;
@@ -1072,6 +1110,9 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
1072
1110
table : MRT_TableInstance < TData > ;
1073
1111
} ) => SkeletonProps )
1074
1112
| SkeletonProps ;
1113
+ /**
1114
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1115
+ */
1075
1116
muiTableBodyCellProps ?:
1076
1117
| ( ( props : {
1077
1118
cell : MRT_Cell < TData > ;
@@ -1109,6 +1150,9 @@ export interface MRT_TableOptions<TData extends MRT_RowData>
1109
1150
table : MRT_TableInstance < TData > ;
1110
1151
} ) => TableRowProps )
1111
1152
| TableRowProps ;
1153
+ /**
1154
+ * @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
1155
+ */
1112
1156
muiTableHeadCellProps ?:
1113
1157
| ( ( props : {
1114
1158
column : MRT_Column < TData > ;
0 commit comments