Hello,
I have problem with dhxwin v4.
x,y position doesn’t effect at all when I am writing code like this:
var win1 = myWins.createWindow({
id: “w1”,
x: 20,
y: 30,
width: 320,
height: 240
});
but OK when using var win1 = myWins.createWindow(“w1”, 20, 20, 320, 240);
Is it bug or any error in my code?
Thanks
Darya
#2
Hello
Please, look at this sample:
dhtmlx.com/docs/products/dhtmlxW … imple.html
- there are “left” and “top” parameters instead of “x” and “y”
- if you are goin to init via json, you can use the whole object at once
- if you need to use name win1 - just declare it:
var win1 = dhxWins.window(“w1”);
It will work
Thank you very much bro,
I don’t know if json must using left,top because I look dhxwins document at
docs.dhtmlx.com/windows__object_constructor.html
using x,y instead left,top
Darya
#4
We will fix docs ass soon as possible, sorry