I want to use syncfusion split button inside syncfusion grid but i define a template for that it is not working. How to use this.
Grid:
$("#Grid").ejGrid({
dataSource: obj,
allowPaging: true,
pageSettings: {
pageSize: 10
},
detailsTemplate: "#tabGridContents",
detailsDataBound: "detailGridData",
create: "FlatGridComplete",
columns: [
{ field: "jobCode", headerText: "Job Code", width: 100, headerTextAlign: ej.TextAlign.Center, textAlign: "center" },
{ field: "jobTitle", headerText: "Job Title", width: 150, headerTextAlign: ej.TextAlign.Center },
{ field: "location", width: 200, headerText: "Location", headerTextAlign: ej.TextAlign.Center },
{ headerText: "Status", width: 140, template: "#ColumnPostTemplate", headerTextAlign: ej.TextAlign.Center },
{ headerText: "Published On", width: 130, template: "#ColumnPostedOnTemplate", headerTextAlign: ej.TextAlign.Center },
{ field: "applicationsCount", width: 130, headerText: "Applications", headerTextAlign: ej.TextAlign.Center, textAlign: "center" },
{ template: "#ColumnEditTemplate", textAlign: "center", width: 130, }
],
});
template:
<script type="text/x-jsrender" id="ColumnEditTemplate">
<button id="splitButton">File</button>
<ul id="target">
<li><a rel='nofollow' href="#">Open</a></li>
<li><a rel='nofollow' href="#">Save</a></li>
<li><a rel='nofollow' href="#">Delete</a></li>
</ul>
</script>
