Why changning cloumn name now working in datatable creation? [closed]

1 week ago 16
ARTICLE AD BOX

I have this code

targets: 2, data: null, name:'serialValue', defaultContent: '', orderable: true, //render: function (data) { // return data.itemSerial.serialValue; //} render: function (data) { return `<div class="serial-link"> ${data.itemSerial.serialValue} </div>`; }

I changed name:'serialValue2', and render function return <div>Test</div>;

and it is not working ?

any reason ?

Panagiotis Kanavos's user avatar

user123456's user avatar

2

Read Entire Article