Announcement

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

    Form layout

    Why am I getting form's fields vertically here:
    Code:
    isc.DynamicForm.create({ID:"frmConsistTrain",wrapItemTitles: 
    false,width: "*",numCols: "3",fields:[{defaultValue: "Personnel", type: "header"},{defaultValue: "Engines", type: "header"}] });

    #2
    A couple of things here:
    1 - numCols should be set to a number 3 not a string
    2 - As you can see from the HeaderItem docs, HeaderItems have colSpan set to "*" by default, and startRow / endRow set to true by default, so you'll have to change these settings for your specific headerItems if you want to have them show up in a horizontal row.

    Comment

    Working...
    X