jsharmony-tutorials
Version:
jsHarmony Tutorials
19 lines • 823 B
JSON
{
"ModelButtons_Cust_Listing_JavaScript": {
"table":"cust",
"layout":"grid",
"title":"All Customers",
"caption":["Customer","Customers"],
"actions":"B",
"menu":"clients",
"buttons":[
{"text":"Current Model ID","link":"js:js:XExt.Alert('The current model is '+modelid);","icon":"search"},
{"text":"Active Users Report","link":"js:XExt.popupReport('jsHarmonyFactory/Reports/SysUser_Listing',{ 'sys_user_sts': 'ACTIVE' },{width:850,height:600});","icon":"export"}
],
"hide_system_buttons":["export","search","print"],
"fields":[
{"name":"cust_id","type":"bigint","actions":"B","key":1,"caption": "ID"},
{"name":"cust_name","type":"varchar","length":"50","caption": "Customer Name","actions":"B","link":"update:ModelButtons_Cust"}
]
}
}