This is my response from action method:
{
"draw": 1, "recordsTotal": 2, "recordsFiltered": 2, "data": [
{ "ISIN": "IMF284L016", "SubSchemeName": "Geliance jocused Marge Map Plan-Growth Option", "TotalAmountInvested": 400.0000, "CurrentValue": 507.402400, "Client": "23", "ClientName": "Lweta Kain " },
{ "ISIN": "IKF24K01o", "SubSchemeName": "", "TotalAmountInvested": 0.0000, "CurrentValue": 0.000000, "Client": "23", "ClientName": "Uweta Kain " }
]
}
Below is my code
$('#orderBookTable').DataTable({
"pageLength": 50,
"bProcessing": true,
"bServerSide": true,
"ajax": {
"url": "/Fund/Get",
"type": "POST",
"datatype": "Json",
"data": function (d) {
d.clientCode = $("#sltClientName").val();
},
"columns": [
{ "data": "SchemeName" },
{ "data": "Client" },
{ "data": "Invested" },
{ "data": "CurrentValue" },
{ "data": "CurrentValue" },
],
"fnCreatedRow": function (d) {
debugger;
}
}
});
please have look in to it. My server side code returning JsonResult using Json method
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I have a form with different input types (text, radio buttons, select, text areas)Form is table with button to add additional rows,
I am making use of Gridster widgets on webpageEach widget is having a button on it which changes the color to red of widget after that is clicked
So I'm trying to make a page for stuff, and I'm at a decent stageI hit a roadblock on, of all things, trying to vertically align buttons I create using javascript in the document
I'm trying to compress the pdf file when uploading file to databaseUsing my code image compression is possible, but I'm not able to compress pdf file