@martin

@martin

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Use 'fa-icon' as icon image for smart menu item? #101005
    Martin
    Member

    Hello davout,
     
    Yes, it is possible. You should put the fa icon before the text of the menu item (in your case “Contact”), like this:

    <smart-menu-item [value]="'contact'">
    <fa-icon [icon]="iconContact" title="contact" size="2x"></fa-icon>
    Contact
    </smart-menu-item>

     
    Best Regards,
    Martin
    Smart HTMLElements Team
    https://www.htmlelements.com/

    in reply to: grid and data adapter #100730
    Martin
    Member

    Hello Fabio,
    Currently, Smart.DataAdapter cannot get data from a file.
    So, you can use fetch (or XMLHttpRequest, or jQuery.ajax()) to request the php file’s data and then pass it as an array to the Grid.
    I hope that this answer would be helpful. Feel free to ask if you need further assistance.
     
    Best Regards,
    Martin
    Smart HTML Elements Team
    https://www.htmlelements.com

    in reply to: grid and data adapter #100728
    Martin
    Member

    Hello Fabio,
    Could you clarify what do you mean that it doesn’t function?
    Is there an issue with rendering the Grid or with binding the data source?
    Thank you!
     
    Best Regards,
    Martin
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 3 posts - 1 through 3 (of 3 total)