This is a migrated thread and some comments may be shown as answers.

Typescript Function Undefined

1 Answer 161 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 11 Dec 2014, 10:16 PM
I'm new to Typescript but we were hoping to implement it in our new project. I'm having trouble just getting a simple grid to work. I have set up references to jquery and the kendo.all.d.ts files. KendoGrid shows up in my Intellisense but  when I attempt to load the page I'm recieving and error of undefined isn't a function when it hits the kendoGrid function. Could it be something conflicting with jquery versions? 

Here is my code.

/// <reference path="jquery.d.ts" />
/// <reference path="kendo.all.d.ts" />

$(document).ready(function () {
    $("#grid").kendoGrid({
        height: 550,
        sortable: true
    });
});

Thanks,

1 Answer, 1 is accepted

Sort by
0
Matthew
Top achievements
Rank 1
answered on 11 Dec 2014, 11:11 PM
I'm an idiot my bundler wasn't working.
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Matthew
Top achievements
Rank 1
Share this question
or