Skip to content

Commit 6672132

Browse files
Merge pull request #60 from DHTMLX/sp-master-1926
[update] the columns property. Add custom styling description (SVAR-1…
2 parents 94cedc5 + 468983f commit 6672132

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/api/config/js_kanban_columns_config.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,22 @@ new kanban.Kanban("#root", {
9797
});
9898
~~~
9999

100+
### Custom styling
101+
102+
To apply custom styles to columns using the `css` parameter, add CSS rules for your custom class.
103+
104+
```css
105+
.wx-header .wx-column.red,
106+
.wx-column.red {
107+
background: #FFA29C;
108+
}
109+
```
110+
111+
If styles are not applied, ensure that:
112+
113+
- Your selector includes enough context (e.g., parent and internal DHTMLX classes)
114+
- If the property is overridden by an inline style, you you can use `!important`
115+
100116
**Change log:** The **css** and **overlay** parameters were added in v1.4
101117

102118
**Related article:**

0 commit comments

Comments
 (0)