Announcement

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

    Problem Showing Fields

    I have a Dynamic form and a List Grid bound to a restDataSource. I have this field:{name:"id_cliente",title:"Cliente",foreignKey:"clienteDS.id",displayField:"nombre_completo",editorType:"comboBox",primaryKey:true}
    when I create/update a record, this field does not show its displayField but if i set canEdit:true and click on it, it will show the comboBox and it's value any ideas why this happens?

    #2
    Hello oscquin,

    In the ListGrid, without specifying optionDataSource, setting displayField just means that the value will be drawn from another field in the same record, as opposed to fetched from a related DataSource. So, I think you need to add optionDataSource:"clienteDS" to your field.

    Comment

    Working...
    X