[progress Communities] [progress Openedge Abl] Forum Post: [4.5] - Kendo Library Issue?

  • Thread starter Thread starter IramK
  • Start date Start date
Status
Not open for further replies.
I

IramK

Guest
Hello, I have created a kendo grid myself using the detailTemplate option that's available on this link . However, with this new version V4.5 of Rollbase, my detailTemplate kendo grid just doesn't work. It does not go into the detailInit function that I have defined. Kindly have a look at this demo code. I'm sure Rollbase is using this detailTemplate option in many places throughout the platform and I was wondering if someone could highlight the issue with my approachplease. function performGridConversion(searchStr) { // This is the dataSource for the grid var staticDataSource = [ { _: "Option1"}, { _: "Option2"} ]; var mainGridElement = $("#mainGrid").kendoGrid({ dataSource: staticDataSource, sortable: false, pageable: false, scrollable: false, detailTemplate: kendo.template($("#temp1").html()), rowTemplate: kendo.template($("#mainTemplate").html()), detailInit: detailsInitialization, dataBound: function() { var thisMasterRow = this.tbody.find("tr.k-master-row"); this.collapseRow(thisMasterRow); this.expandRow(thisMasterRow); } }); function detailsInitialization(e) { // Not coming here... alert("Here"); } Cheers. Iram

Continue reading...
 
Status
Not open for further replies.
Back
Top