type: new Column in xml file

Hello everyone, how can I put the type newColumn in the xml file used to generate, for example, an item of type button? Thanks Cristina

Hello
Something like this:

<item type="newcolumn" offset="10"/>

Probably I don’t understand …



?
I’d like to have an input text field and a button in the same line.
Thanks
Cristina

Yes, you are right. Try your code snippets in your project.

I’ve inserted the tags in my xml code, but nothing is changed
Cristina

Try new fixed version (is attached).
f.zip (317 KB)

I have substituted the new file (all js), but nothing changed.
Cristina

In that case i recommend you create and attach completed demo with your issue:
docs.dhtmlx.com/doku.php?id=othe … leted_demo

I’m having these problems as well with Form 3.0. When I add a new column with the offset value, there is no new column created, though the offset is added to the next item.

I see the same issues when building from an UL.

Hi all

(also sometime item type block is useful)
if issue still exists please attach your completed demos (including all corresponding js/css files)

I’ve attached a little demo.
Thanks for all your help.
Newcolumn Demo.zip (93 KB)

Hi

in your code:

this is web skin, but no declaration (by the default form used dhx_skyblue),
try the following:

myForm = new dhtmlXForm(“myForm”);
myForm.setSkin(“dhx_web”);
myForm.loadStruct(“xml/test.xml”);

Can you point me to the css setting that changes this? I’m creating my own skin and would like to replicate this functionality.

skin-related opts in css usualy have “_skin_name” postfix for rules + js can also have some code. you can try our skinbuilder dhtmlx.com/docs/products/skinBuilder/index.shtml