Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to set the title of CheckboxItem at the left hand side of checkbox?

    How to put the title of CheckboxItem at the left hand side of checkbox?

    and how to let a FormItem's item don't display and don't occupiers the column of DynamicForm(how to separate title and item to independent).
    Last edited by lelliao; 25 Dec 2007, 00:30. Reason: Wrong title

    #2
    You can set any FormItem not to show its title via showTitle:false. A CheckBoxItem in particular has a label which is part of the element itself rather than rendered in an adjacent cell, and you can use showLabel:false to suppress this.

    To create your own equivalent of the title or label automatically created by a FormItem, use a StaticTextItem with showTitle:false. This will show the StaticTextItem's defaultValue as a plain text value occupying one column in the form layout.

    Note that if you have exotic layout requirements you can set itemLayout:"absolute" to do completely free-form item layout (pixel positioning). However this has drawbacks (see the docs for itemLayout:"absolute") including lack of automatic reflow when items are hidden.

    Comment

    Working...
    X