Add Action column in with server side processing.

Add Action column in with server side processing.

DevBizDevBiz Posts: 6Questions: 0Answers: 0

I am used Server side processing in DataTable.
Below code i have used and its working fine.
[CODE]
$('#sample_1').DataTable( {
"processing": true,
"serverSide": true,
"ajax": "/./getdata.json",
"columns": [
{ "data": "id" },
{ "data": "parent_id" },
{ "data": "account_type_id" },
{ "data": "industry_id" },
{ "data": "name" },
{ "data": "customer_key" },
{ "data": "line_1" },

    ]

} );

Html:

Id/th> Parent Account Type Industry Name Customer Key Line1

[CODE]

Now I want to add action column and that is same for all rows. and Also bind ID with action like Edit action.
Please let us know best way.......

Thank you!

This discussion has been closed.