Function is not defined error while calling inline function while rendering of data in column

Function is not defined error while calling inline function while rendering of data in column

istudent_learningistudent_learning Posts: 31Questions: 9Answers: 0

"columns": [ { "data": "Store", "name": "Store" }, { "data": "Order", "name": "Order" }, { "data": "Sku", "name": "Sku" }, { "data": "Qty", "name": "Qty" }, { "data": "OrderedDate", "name": "OrderedDate" }, { "data": "TrackingInfo", "name": "TrackingInfo" }, { "data":"OrderItemId" , "render" : function (data) { return "<a href='#' class='btn btn-default' onclick='EditTrackInfo(" + data + ")'><span class='glyphicon glyphicon-edit'></span> Edit </a>"; },

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    Thanks for your question. As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Allan

  • istudent_learningistudent_learning Posts: 31Questions: 9Answers: 0

    Thank you. I did not know that. This is for the first time i am using it and I am beginner.

    My issue has been resolved with different approach.

This discussion has been closed.