Hi,
I had a problem when trying to embed z-index databinding. Below is my DOM:
The "width", "height", "top", "left" are rendered to "style" but z-index is not.
What is my mistake?
Please help me this problem. I searched google for a long time but I didn't see any answer.
Thank you.
John Vu
I had a problem when trying to embed z-index databinding. Below is my DOM:
<
div
id
=
"ItemContainer0"
class
=
"textItem ui-draggable"
data-bind="style:
{height: Height + 10 + 'px', width: Width + 10 + 'px', top: Y - 6 + 'px', left:
X - 6 + 'px', 'z-index': Z}"
index
=
"0"
style="height: 60px; width: 210px; top:
77px; left: 135px;">
The "width", "height", "top", "left" are rendered to "style" but z-index is not.
What is my mistake?
Please help me this problem. I searched google for a long time but I didn't see any answer.
Thank you.
John Vu