JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://cdn.kendostatic.com/2014.1.318/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2014.1.318/styles/kendo.common.min.css">
<a id="projectCreation" href="#">Create Project</a>
<a id="btn" href="#">Create Project</a>
<div class='hidden'>
<div id="grid"></div>
</div>
CSS
.hidden{display:none;}
JavaScript
$(document).ready(function () {
$('#projectCreation').on('click', function(){
ShowContainer();
});
$('#btn').on('click', function(){
$('.hidden').hide();
});
$("#grid").kendoGrid({
dataSource: {
type: "odata",
transport: {
read: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
},
pageSize: 20
},
height: 550,
groupable: true,
sortable: true,
pageable: {
refresh: true,
pageSizes: true,
buttonCount: 5
},
columns: [{
field: "ContactName",
title: "Contact Name",
width: 200
}, {
field: "ContactTitle",
title: "Contact Title"
}, {
field: "CompanyName",
title: "Company Name"
}, {
field: "Country",
width: 150
}]
});
});
function ShowContainer(){
$('.hidden').show();
}