javascript:
var fileinfo; //This is a string which gets filled by calling a ajax call.
function OnSuccess(response) {
fileinfo = response.d;
}
$('#example').DataTable({
data : fileinfo,
columns: [
{ title: "FileID" },
{ title: "RecordDetailsID" },
{ title: "ProductName" },
{ title: "HRI" },
{ title: "CheckNumber" },
{ title: "filename" },
{ title: "Recipinet_Name" },
{ title: "Mailing_Address" }
]
});
aspx page:
FileID | RecordDetailsID | ProductName | HRI | CheckNumber | filename | Recipinet_Name | Mailing_Address |
---|---|---|---|---|---|---|---|
FileID | RecordDetailsID | ProductName | HRI | CheckNumber | filename | Recipinet_Name | Mailing_Address |