JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › unable to use DataAdapter URL › Reply To: unable to use DataAdapter URL
March 30, 2022 at 2:52 pm
#103028
martin-jq
Participant
Hello JoeLaRue,
Please, try defining dataSourceType inside the DataSource and setting dataSource.dataSource to just the url string, instead of an object.
You can check these two demo examples: PHP Service and Bind to JSON.
If you need to load the data using the fetch API you can initialize the Grid separately and then just update the dataSource.
Please, check this Demo Example.
Best Regards,
Martin
Smart HTMLElements Team
https://www.htmlelements.com/