I have a login popup window
dhx.ui({
view: “window”,
id: “LoginWindow”,
width: 900,
body: {
id: "win2",
rows: [{ view: "text", labelWidth: 100, width: 280, id: 'txtUsername', label: "User name" },
{ view: "text", labelWidth: 100, width: 280, id: 'txtPassword', label: "Password"}]
},
head: {
view: "toolbar", type: "MainBar", elements: [
{ view: "label", label: "Employee Login", align: 'left', inputWidth: 100, width: 180 },
{ view: "button", label: 'Login', align: 'right' }
]
},
move: true,
position: "center"
});
In the above code How to make the 2nd textbox (txtPassword) password type textbox.