web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

JQuery Kendo Grid on entity form: code and usage explanation

(0) ShareShare
ReportReport
Posted on by 363

Hi,

I'm new to Js and JQuery, I'm trying to understand how a Kendo Grid works within Dynamics CRM online, and what the relevant pieces of code mean.


-------  Assumption ----->


On Dynamics CRM, I see a Kendo Grid showing values inside an entity form.
The HTML file kendo_Grid.html has been added as Webresource in the solution.

Inside the code, in the HTML file, I see a function that begins with the following instructions:

function myFunction() {
            
            var grid = $("#grid").data("kendoGrid");

I'm aware that the "$" is a JQuery identifier that gets an element whose id is "grid": where such an element has been defined? (Where should I look to find the element whose id is "grid")?

----

Can you please give me some examples involving Html, Js and Jquery code that show the connections:

1) between the JS function like the one above and the element the $ identifier refers to (global coding scenario);

2) between the HTML file like the one above and the forms where is being used, i.e., how can I tell an entity form to use a kendo grid as far as the Webresource has been added? (CRM scenario)

I have the same question (0)
  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please refer below github links for code example.

    https://github.com/jlattimer/CRMKendoUIGridREST

    http://jsfiddle.net/k46bD/1/

    For point 2 please check below link.

    https://carldesouza.com/dynamics-365-html-web-resource-example/

    Thanks,

    Pradeep.

    Please mark this as VERIFIED if it helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans