Hola,
Al hilo de viewtopic.php?f=3&t=32519#p191083 , aqui podeis ver el código que ya realizamos con mod Harbour en la web
Aqui podeis verlo en acción
-> https://modharbour.app/tweb/browse-ajax2
Al hilo de viewtopic.php?f=3&t=32519#p191083 , aqui podeis ver el código que ya realizamos con mod Harbour en la web
<div class="php" id="{CB}" style="font-family: monospace;">//Â {% LoadHrb( 'lib/tweb/tweb.hrb' ) %}
#include {% TWebInclude() %}
function main()
  LOCAL o, oWeb, oCol, oBrw
  LOCAL cHtml := ''
 Â
  <a href="http://www.php.net/define">DEFINE</a> WEB oWeb TITLE 'Browse Ajax' TABLES INIT
 Â
  <a href="http://www.php.net/define">DEFINE</a> FORM o ID 'demo'
  HTML o INLINE '<h3>Test Browse Ajax II</h3><hr>'
   Â
  INIT FORM o       Â
   Â
    ROWGROUP o
      BUTTON LABEL 'Url ENDPOINT: <!-- m --><a class="postlink" href="https://www.w3schools.com/angular/customers.php'">https://www.w3schools.com/angular/customers.php'</a><!-- m --> GRID 6 ACTION 'LoadCustomers()' OF o Â
    ENDROW o
   Â
    ROWGROUP o         Â
     Â
      <a href="http://www.php.net/define">DEFINE</a> BROWSE oBrw ID 'ringo' HEIGHT 400 TOOLS <a href="http://www.php.net/print">PRINT</a> EXPORT SEARCH OF o
     Â
          ADD oCol TO oBrw ID 'Name'    <a href="http://www.php.net/header">HEADER</a> 'Name  '  ALIGN 'right'
          ADD oCol TO oBrw ID 'City'   <a href="http://www.php.net/header">HEADER</a> 'City'   <a href="http://www.php.net/sort">SORT</a>
          ADD oCol TO oBrw ID 'Country'  <a href="http://www.php.net/header">HEADER</a> 'Country' <a href="http://www.php.net/sort">SORT</a>          Â
    ENDROW o
   Â
    HTML o
      <script>
        var oBrw = new TWebBrowse( 'ringo' )
        function LoadCustomers() {
          Â
          oBrw.Loading()
         Â
          MsgServer( 'https://www.w3schools.com/angular/customers.php', null, Post_LoadCustomer )
        }
       Â
        function Post_LoadCustomer( dat ){
          oBrw.Loading(false)        Â
         Â
          oBrw.SetData( dat.records )
        }             Â
       Â
      </script>   Â
    ENDTEXT
 Â
  <a href="http://www.php.net/end">END</a> FORM o
 Â
retu nil
 </div>Aqui podeis verlo en acción
Salutacions, saludos, regards
"...programar es fácil, hacer programas es difÃcil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
"...programar es fácil, hacer programas es difÃcil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix