dijit.form - Does Dojo has Label property for checkBox or its widgets? -


i creating checkbox in dojo shown below-

new checkbox({   id:"chckbox",   checked: true,   label: "save future"  },"divid").startup();  

the checkbox has no label when displayed. has checkbox checked. question - need have 2 separate components laid out, 1 checkbox , other 1 label ?? can't combine 1 widget? isn't there similar extjs have fieldlabel property in dojo well?

as well, there no other way create check box label, other having input fields, if need dynamic show/hide, need apply css property on both widgets separately,right ?

please let me know if wrong.

thanks !

yes, right.

there no "checkbox label" widget in dojo, need create them separately , style them separately well.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -