Browse Source

* Small fix in html, add missing closing tr tag

michael 6 years ago
parent
commit
59e69a4993
1 changed files with 2 additions and 0 deletions
  1. 2 0
      demo/restbridge/simple/restbridgeclient.lpr

+ 2 - 0
demo/restbridge/simple/restbridgeclient.lpr

@@ -99,9 +99,11 @@ Var
   sHTML : String;
 
 begin
+  // Prepend dataset name to id?
   sHtml:=Format('<tr id="row-%d"><td>%d</td>',[DataSet.RecNo,aRowNo]);
   For I:=0 to Dataset.Fields.Count-1 do
     sHTML:=sHTML+'<td>'+Dataset.Fields[i].AsString+'</td>'+sLineBreak;
+  sHTML:=sHtml+'</tr>';
   Result:=sHTML;
 end;