Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

how to provide complex options #156

Description

@pegues

Hi,
Can anyone help me how to initialize datatable with complex options like this.
oTable = $('#AttributesList-table').dataTable({
"aoColumnDefs": [
{
"aTargets": [ '_all' ],
"mRender": function ( data, type, full ) {
if(data!=null)
{
return '

'+data+'
';
}
else
{
return '';
}
}
}
]
});
Actually I want to wrap cell data with
tag.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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