How to give Id in edit link?

How to give Id in edit link?

KhyatiKhyati Posts: 1Questions: 1Answers: 0

data: "User_Id",
mRender: function (data) {
return '<a href="" class="editor_edit" id="' + data.User_Id + '" >Edit</a>';

Answers

  • HPBHPB Posts: 73Questions: 2Answers: 18
    {
       data: "User_Id",
       render: function ( data, type, full, meta ) {
          return  '<a href="" class="editor_edit" id="' + data + '" >Edit</a>';
       }
    }
    
This discussion has been closed.