JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Help With Using Ajax To Get Data › Reply To: Help With Using Ajax To Get Data
February 2, 2022 at 5:10 pm
#102831
Participant
does the data adapter work with sql calls?
we expected the call to look like this
const dataAdapter = new Smart.DataAdapter({
dataSource: {
method: “GET”,
url: “Productivity/?handler=Dashboard”,
async: true
},
dataSourceType: “json”,
dataFields: [
“Category: string”,
“DateValue: date”,
“CurrentPeriod: bool”
]
});
but it is not calling the code behind in my asp.net project