Hello. Using the following resources:
- cdn.dhtmlx.com/suite/9.3/suite.js
- cdn.dhtmlx.com/suite/9.3/suite.css
- cdn.materialdesignicons.com/3.6.95/css/materialdesignicons.min.css?v=6.4.4
I am attempting to instantiate a layout object with the following code:
const layout = new dhx.Layout(document.body, {
type: "space",
rows: [
{ id: 'searchbar', height: 'content', css: 'dhx_layout-cell--bg_gray dhx_layout-cell--no-border_top dhx_layout-cell--no-border_bottom dhx_layout-cell--no-border_left dhx_layout-cell--no-border_right' },
{ id: "toolbar", height: "content" },
{
cols: [
{ id: "sidebar", width: "240px", css: "dhx_widget--bg_gray" }, // Folders
{ id: "list", width: "350px" }, // Email List
{ id: "preview", width: "100%" } // Reading Pane
]
}
]
});
I am attempting to create a cell with id “searchbar” that has no borders by using css property “dhx_layout-cell–no-border_top” and the other associated properties. However, the borders remain on that cell. Any help would be great. Thanks in advance.