I am always grateful for your help,
in this attached project
From WebHttpRequest1RequestResponse of WebHttpRequest1 by pressing
WebButton2, WebMemo2.Text: = AResponse;
will do
Is it possible to read this WebMemo2.txt directly into WebTableControl2?
Or is it not possible to easily read into WebStringGrid1?
//--------------------------------------------------------------------
procedure TForm1.WebHttpRequest1RequestResponse(Sender: TObject;
ARequest: TJSXMLHttpRequestRecord; AResponse: string);
var
wJSON_Root_Element: string;
begin
WebMemo2.Text:=AResponse;
//I want to realize this kind of thing!
wJSON_Root_Element := 'ROW';
WebTableControl2.LoadFromJSON(AResponse);
//I want to realize this kind of thing!
WebTableControl2.LoadFromCSV(AResponse);
end;
//--------------------------------------------------------------------
procedure TForm1.WebButton3Click(Sender: TObject);
begin
//I want to realize this kind of thing!
WebTableControl2.LoadFromCSV(WebMemo2.Text);
end;
//--------------------------------------------------------------------
087_WebTableControl_Q2.zip (1.63 MB)