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
// Only "Error" cells get red text - all other cells keep default styling
41
+
if value.stringRepresentation =="Error" {
42
+
cell.dataLabel.textColor= .systemRed
43
+
}
44
+
}
45
+
```
46
+
15
47
## Basic Usage
16
48
17
49
```swift
@@ -147,8 +179,9 @@ The ``DataTableConfiguration/highlightedAlternatingRowColors`` and ``DataTableCo
147
179
148
180
1.**Colour arrays are applied first** as the baseline background
149
181
2.**Your callback runs after**, allowing you to override or extend the styling
182
+
3.**Properties you don't touch keep their values** - the callback is additive, not destructive
150
183
151
-
This means you can use colour arrays for row backgrounds while using the callback for fonts, text colours, and conditional styling:
184
+
This means you can use colour arrays for row backgrounds while using the callback for fonts, text colours, and conditional styling—without losing any defaults:
0 commit comments