Skip to content

Datatable Column Render function #70

@majorpaynegh

Description

@majorpaynegh

How can i use the render function of datatables to render rows??

render(row,cell,index){
let data = "";
if (row.status == "active") {
data = ''+row.status+'';
}
if(row.status == 'inactive'){
data = ''+row.status+'';
}

        return data;
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions