This is a migrated thread and some comments may be shown as answers.
Remote Binding no results returned
2 Answers 9 Views
This is a migrated thread and some comments may be shown as answers.
li
Top achievements
Rank 1
li asked on 28 Feb 2021, 05:00 AM

HI 

  I use the official Remote Binding example,But with no results returned, I get an empty GRID. could you help me to check my code?  I'm sure there is no problem with JSON-Returning File Test02.php. It can return JSON results。

 

2 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 03 Mar 2021, 10:11 AM

Hello Li,

Thank you for the provided configuration. I have examined it and I noticed that the dataSource is not assigned to the grid.

e.g.

$grid->addColumn($Username,$Password,$Quota,$Download,$Upload)
     ->dataSource($dataSource)
    ->sortable(true)
    ->height(550)
    ->filterable(true)
    ->pageable(true);

Could you please add the dataSource configuration to the grid as shown above and let me know if the data is displayed?

I look forward to your reply.

Regards,
Georgi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
li
Top achievements
Rank 1
answered on 03 Mar 2021, 12:40 PM
Hi, it's working, Thank you:) .
 
Tags
Grid
Asked by
li
Top achievements
Rank 1
Answers by
Georgi
Telerik team
li
Top achievements
Rank 1
Share this question
or