You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/columns/column-selection.md
+65-1Lines changed: 65 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,4 +222,68 @@ class DataTableColumnsSelectedListener
222
222
}
223
223
224
224
}
225
-
```
225
+
```
226
+
227
+
## Styling
228
+
229
+
### setColumnSelectButtonAttributes
230
+
Allows for customisation of the appearance of the "Column Select" button
231
+
232
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
233
+
234
+
#### default-colors
235
+
Setting to false will disable the default colors for the Column Select button, the default colors are:
'class' => 'focus:border-rose-300 focus:ring-1 focus:ring-rose-300 focus-visible:outline-rose-300', // Add these classes to the column select button
253
+
'default-colors' => false, // Do not output the default colors
254
+
'default-styling' => true // Output the default styling
255
+
]);
256
+
}
257
+
```
258
+
259
+
### setColumnSelectMenuOptionCheckboxAttributes
260
+
Allows for customisation of the appearance of the "Column Select" menu option checkbox
261
+
262
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
263
+
264
+
#### default-colors
265
+
Setting to false will disable the default colors for the Column Select menu option checkbox, the default colors are:
0 commit comments