Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send data from Delphi to web client
#7
PHP Code:
;procedure TIWForm1.IWAppFormRender(SenderTObject);
begin
   Self
.JavaScript.Add'var w_v_l = ["2018/01","2018/02"]' );
end
HTML/JavaScript
PHP Code:
var config_v = {
 
   type'line',
 
   labelsw_v_l  <=== 

IWTemplateProcessorHTML
PHP Code:
procedure TIWForm1.IWTemplateProcessorHTMLUnknownTag(const ANamestring; var VValuestring);
begin
   
//AName in your HTML {%myDataTableData%}
 
  if AName 'myDataTableData' then
      VValue 
:= 'record, record2, record3, etc';
end
Reply


Messages In This Thread
Send data from Delphi to web client - by radub - 04-19-2018, 03:41 PM
RE: Send data from Delphi to web client - by Jose Nilton Pace - 04-27-2018, 12:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)