GuiXT
ScriptGuiXT
// Build up OData URL (here: OData Test service)
Set V[url] _
"http://services.odata.org/V4/Northwind/Northwind.svc/Customers"
// Read Northwind customers via OData service
CopyText fromFile="&V[url]" toText="cust"
// Fill GuiXT variables via JavaScript
CallJS customercount = odata_customers
// Display customer table
Table (3,6) (15,101) title="Northwind Customers" -singlerowselection _
name="nwcustomers" rows="&V[customercount]" fixedColumns=3
Column "Company" size=40 name="company"
Column "City" size=30 name="city"
Column "Country" size=20 name="country"
|