how to display 2 or more than 2 data columns in datatable?
how to display 2 or more than 2 data columns in datatable?
chandansingh365
Posts: 2Questions: 1Answers: 0
$("#table_data").dataTable
({
"ServerSide": true,
"ajax":
{
"url": '@Url.Action("DashboardJson")',
"type": "Post"
}
,
"columns":
[
{"data":"LeadSourceName"},
{
"data": "RecievedDate"
},
{"data": "FirstName"},
{"data": "LastName" },
{ "data": "PhoneNumber" },
{ "data": "City" },
{ "data": "State" },
{ "data": "Zip" },
]
});
});
</script>
This discussion has been closed.
Answers
my requirement is to display firstname,Lastname,phone no into single column