Tree inside form

Hi,

1) Is it possible to have a webix tree control as one of the webix form fields. i.e. tree inside form?
If yes what should be the value of "view" property.
Kindly provide a sample if possible.

pseudo code below:
webix.ui({
container: "myform",
view: "form",
scroll: false,
width: 300,

            elements: [
                { view: "text", label: "Name" },
                { view: "tree", label: "Some tree" }, //tree should be displayed for this field
            ]

});
2) Also, is it possible to place a custom html for a webix form field
Kindly provide a sample if possible.

pseudo code below:
webix.ui({
container: "myform",
view: "form",
scroll: false,
width: 300,

            elements: [
                { view: "text", label: "Name" },
                { view: "html", label: "Some custom html", template: "<div><span>Custom html template</span></div>" }, //custom html should be displayed here
            ]
        });

Thanks in Advance.
~Gaurav

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!