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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