I have form in layout cell, this layout is in window and this window has statusbar, in this statusbar is container like
and i need to attach one textarea from form to this html container?
how to do it?
I have form in layout cell, this layout is in window and this window has statusbar, in this statusbar is container like
and i need to attach one textarea from form to this html container?
how to do it?
Hello
Do you mean its value?
i mean the whole control, whole textarea should be visible in status bar, it is textarea which should be visible in all tabs of form
Could you provide images, please? We will try to suggest you a solution
dropbox.com/s/akfftfwikokv7 … r.png?dl=0
this is just test, no view with more tabs worked at this moment in my project
Sorry, we need to see how do you want this textarea looks like
Will it be something like
yes for example something like this, just textarea above text in status bar, on the whole width of status bar, 3 rows height
Hi
first you need to adjust height for status, for this add height param:
docs.dhtmlx.com/api__link__dhtml … usbar.html
finally:
w1.attachStatusBar({
text: "<div id="very_unique_id_1654979813"></div>",
height: 90
});
then init your form:
layout.cells(id).attachForm({
...
{type: "block", id: "very_unique_id_1654979813_two", inputWidth: "auto", list:[
{type: "input", rows: 3....}
]}
});
then move block into status:
var divInStatus = document.getElementById("very_unique_id_1654979813");
var myTextArea = document.getElementById("very_unique_id_1654979813_two");
divInStatus.appendChild(myTextArea);
more similar demos:
dhtmlx.com/docs/products/dhtmlxF … split.html
dhtmlx.com/docs/products/dhtmlxF … mplex.html
perfect, thanks
but there is still one problem, textarea is in block, this block is div, lineheight of this block is 90 so the textarea hide the text which was in statusbar before, it should be also visible
w1.attachStatusBar({
text: “
perfect thanks, i solved it in css (somehow)