xaWeb: Table Load data
Click on any row
Load 477 records from a Json file on server via Fetch API with xaWeb built-in system
Change row to lower case via FETCH (Harbour)
Id
First
Last
Street
City
This button shows xaWeb source code
LyoNClRoaXMgc2FtcGxlIHNob3dzIGhvdyB0byBlYXNpbHkgdXBkYXRlIGFueSBUYWJsZSBkYXRhLg0KDQpJTVBPUlRBTlQgTk9URToNCkl0IGRvZXMgbm90IHdvcmsgY29ycmVjdGx5IG9uIFhhaWxlciBJREUgQ0dJIHJ1bm5lciwgc2luY2UgaXQgZG9lcyBub3QNCnN1cHBvcnQgRmV0Y2ggb3BlcmF0aW9ucyBhIHRoaXMgbW9tZW50Lg0KDQpUbyByZXRyaWV2ZSB0aGUgZGF0YSB3ZSB1c2UgdGhlIG1ldGhvZCBXVGFibGU6TG9hZEZyb21TZXJ2aWNlKCkNCg0Kb0J0bjpPbkNsaWNrIDo9IG9UYWJsZTpMb2FkRnJvbVNlcnZpY2UoIGNTZXJ2aWNlICkNCg0KV2hlcmUgY1NlcnZpY2UgaXMgYSBtZXRob2Qgb24gY3VycmVudCBXRG9jTWFpbiBvYmpldC4NCg0KVGhpcyBtZXRob2Qgc2hvdWxkIHJldHVybiBhIG11bHRpLWRpbWVuc2lvbiBhcnJheSBpbiBKc29uIEZvcm1hdDoNCg0KICAgYSA6PSB7IDsNCiAgICAgICAgIHsicm93MS5kYXRhMSIsICJyb3cxLmRhdGEyIiwgLi4uLCAicm93MS5kYXRhTiIgfSw7DQogICAgICAgICAuLi4gLDsNCiAgICAgICAgIHsicm93Ti5kYXRhMSIsICJyb3dOLmRhdGEyIiwgLi4uLCAicm93Ti5kYXRhTiIgfSw7DQogICAgICAgIH0NCg0KICAgUkVUVVJOIGhiX0pzb25FbmNvZGUoIGEgKQ0KKi8NCg0KI2luY2x1ZGUgInhhV2ViLmNoIg0KDQpDTEFTUyBXRG9jTWFpbiBGUk9NIFdEb2MNCg0KICAgREFUQSBvVGFibGUNCg0KICAgTUVUSE9EIENyZWF0ZURvYygpDQ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