Attach Siderbar on layout

hi everyone, i’m still testing out with dhtmlx, and i wish to know
can layout attach in the sidebar?

as like

so can it attach sidebar?
so far i try and i fail

is there a way to do it?

Here you can find the attachSidebar() method is listed:
also, you can check it here:

so, yes, you are able to use the attachSidebar method to attach a sidebar to your layout cell.

If the problem still occurs for you pleas,e provide a code snippet or a complete demo/demo link, where the problem can be reconstructed locally.

1 Like

thanks sematik, i will continue to try out. i’m doing Proof of Concept (POC) to my boss, so now doing own testing development.

by the way, here is my test, something wrong with it, nothing load out for sidebar
my entire source code is HERE

Please, try to update your dhtmlx sources. Your dhtmlx.js file does not contain the attachSidebar() method.

thanks for verifying my mistake.

i download the sample demo from website, so how do i know i’m not using the latest dhtmlx.js?

and so far base on my understanding, there are having different file to call, so which should i call?

sample 01
< script src=“codebase/dhtmlx.js” type=“text/javascript”>
< link rel=“STYLESHEET” type=“text/css” href=“codebase/dhtmlx.css” >

sample 02
< script type=“text/javascript” src=“codebase/dhtmlx.js?v=6.1.3”>
< link rel=“stylesheet” href=“codebase/dhtmlx.css?v=6.1.3”>

sample 03
< script type=“text/javascript” src=“codebase/suite.js?v=6.1.3”>
< link rel=“stylesheet” href=“codebase/suite.css?v=6.1.3”>

sample 3:
The dhtmlxSuite 6 is a completely updated version of the library, it has a new API and have no compatibility with the older versions of the dhtmlxSuite.

files of the sample 01/02 are from the older verisons of the dhtmlxSuite. in this case the latest version is 5.2