Enterprise Data Grid & UI Components for Angular, React & Blazor Forums Table Having logic problems while working on: Table.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #113442
    alex.morris22
    Participant

    Can I use Smart Table with a REST API in web app? How to integrate with HttpClient?

    #113474
    admin
    Keymaster

    Hi,

    Yes, it is possible. For example:

    const table = document.querySelector('smart-table');
    
    fetch('https://api.example.com/users')
      .then(res => res.json())
      .then(data => {
        table.dataSource = data;
      });

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.