UNPKG

jsharmony-tutorials

Version:
27 lines 1.21 kB
{ "FieldUnbound_Dashboard": { "layout":"form", "caption": ["Customer", "Customers"], "unbound": true, "fields": [ {"name": "cust_sts", "caption": "Status","control": "dropdown", "unbound": true, "lov": { "code": "cust_sts", "blank": "(All)" }, "onchange": "XPage.Select({ modelid: 'FieldUnbound_Dashboard_Cust_Listing', onCancel: undoChange });" }, {"control": "html", "value":"Note: The 'Deactivated' status is an expired CODE, so it does not display in the dropdown"}, {"control": "subform", "target": "FieldUnbound_Dashboard_Cust_Listing", "bindings": { "cust_sts": "cust_sts" } }, {"control": "html", "value":"Note: Status dropdown in the grid is read-only because of the binding"}, {"control": "html", "value":"Note: Grid commitlevel defaults to 'page' because the grid not the top-level form.", "nl":1}, ] }, "FieldUnbound_Dashboard_Cust_Listing": { "table":"cust", "layout":"grid", "caption": ["Customer", "Customers"], "fields": [ {"name":"cust_id", "caption": "ID"}, {"name":"cust_name", "caption": "Name"}, {"name":"cust_sts", "caption": "Status"} ] } }