Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vasiliy on Jan 22, 2009 03:33
open dhtmlx forum
Hi All, Can anyone help me to create a new template like 1C+3L?


Answer posted by Support on Jan 22, 2009 04:36
Hello,

Could you please provide a screenshot of how this pattern looks like?
Answer posted on Jan 22, 2009 05:18
Attached.
Attachments (1)
4L.jpg1.05 Kb
Answer posted by Support on Jan 22, 2009 06:35
Here is a code. Will included into next release under "4L" name.

this.tplData = {
    "4L": '<layout><autosize hor="c;d" ver="a;b;d" rows="2" cols="3"/><row><cell obj="a" resize="hor" neighbors="a;b;c,d" rowspan="3"/><cell sep="ver" left="a" right="b;c,d" dblclick="a" rowspan="3"/><cell obj="b" resize="hor" neighbors="a;b;c,d" rowspan="3"/><cell sep="ver" left="a;b" right="c,d" dblclick="b" rowspan="3"/><cell obj="c" resize="ver" neighbors="c;d"/></row><row sep="true"><cell sep="hor" top="c" dblclick="c" bottom="d"/></row><row><cell obj="d" resize="ver" neighbors="c;d"/></row></layout>'

this._availAutoSize = {
    "4L_hor": new Array("a", "b", "c;d"),
    "4L_ver": new Array("a;b;c", "a;b;d")
Answer posted on Jan 22, 2009 07:10
Thanks