Click here to Skip to main content
15,904,817 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am very new to this kendogrid. I am exploring a project that includes the kendogrid implementation. This is line where I got stuck.

JavaScript
$('#tbl').data('kendoGrid').dataSource.read();


What I have tried:

I know that this line is being used to retrieve/refresh data but I am not understading why this 'kendoGrid' is being passed to data().
Posted
Updated 24-Feb-17 0:35am

1 solution

This is how a Kendo UI widget instance is retrieved in general. The approach follows the convention with regard to jQuery plugins.

Methods and Events | Kendo UI Getting Started[^]
 
Share this answer
 
v2
Comments
Karthik_Mahalingam 24-Feb-17 6:54am    
5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900