Add Custom Column at the beginning of table

Add Custom Column at the beginning of table

Ahmed MajiedAhmed Majied Posts: 1Questions: 1Answers: 0
edited June 2020 in Free community support

Hi, I want to create a custom column at the beginning of the table
with data: null and doesn't affect data of other columns.

same code is working fine if i put custom column at the end of table
but i want it at the beginning, so is there any solution?
Thanks in advance

considering that i use ajax to get data of ID and Name as Json array.

this is my Javascript:
"columns": [
{
data:null,
render: function(data){ // return html }
},
{
title: "ID", visible: false
},
{
title: "Name"
}
]

Answers

This discussion has been closed.