This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Managed and Ajax Datatable


  • furkansavsatli
    Participant

    Member Reply #4160

    Hi,
    How can I solve this problem ?
    I need managed datatable and ajax datatable. I tried, but my checkbox css still looks bad.
    If you could help me in this matter, I would be appreciated.

    *.js
    *****
    ‘ajax’: {
    ‘url’: ‘/user/list’,
    ‘done’: function () {
    }
    },
    “columns”: [
    {
    data: “active”,
    render: function (data, type, row) {
    return ‘<input class=”group-                             checkable” type=”checkbox” data-set=”#userList .checkboxes” />’;},
    className: “dt-body-center”
    },
    {“data”: “name”},
    {“data”: “surname”},
    ],
    *.jsp</p>

    <table id=”userList” class=”table table-striped table-hover table-bordered table-checkable order-column”>
    <thead>
    <tr class=”heading”>
    <th class=”table-checkbox”><input id=”example-select-all” class=”group-checkable” name=”select_all” type=”checkbox” value=”1″ /></th>
    <th>name</th>
    <th>surname</th>
    </tr>
    </thead>
    </table>

    Sean
    Sean
    Keymaster

    Posts: 4226
    Support Staff Reply #4178

    Hi,

    Sorry, i could not understand your code. Could you please refer to my previous reply and provide us a test link to your developing site ?

    Thanks.

Tagged: 

You must be logged in to reply to this topic.