How to Send id to edit( id ) function
How to Send id to edit( id ) function
Abhi R
Posts: 17Questions: 5Answers: 0
Hello I want to send MeetingId to on click of that Edit
columns: [
{ "data": "MeetingId" },
{ "data": "MeetingName" },
{ "data": "HostName" },
{ "data": "ScheduledDate" },
{
data: null,
className: "center",
defaultContent: '<a href="#" class="editor_edit" onclick="edit( **Here** )">Edit</a> / <a href="#" class="editor_remove" onclick="Delete()">Delete</a>'
}
],
But how to send the MeetingId over there ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use a rendering function rather than the
columns.defaultContent
option. The later is only useful for static content whilecolumns.render
can be used to create dynamic content.Allan
Thanks Allan