DataTable mit dropdown-Spalte

Ich brauche, um dropdown-Spalte in DataTable die jQuery-es ist lookinng wie da unten jetzt DataTable mit dropdown-Spalte

Und ich will es wie das unten stehende Bild
DataTable mit dropdown-Spalte

und der code, den ich verwende, ist

<table id="example" class="hover row-border dataTable" role="grid" width="100%">
    <thead class="dataTableHeader">
        <tr>
            <th>Days</th>
            <th>Start Time</th>
            <th>End Time</th>
        </tr>
    </thead>
</table>

$(document).ready(function () {
    $('#example').DataTable({
        "aaData": OrganizationData.OrganizationPreference.ScheduleDaysCol,
        "columns": [
            {"data": "DayName"},
            {"data": "StartDateHour"},
            {"data": "EndDateHour"}

        ],
        "paging": false,
        "ordering": false,
        "info": false,
        "filter": false
    });
});

InformationsquelleAutor raghav | 2016-03-16

Schreibe einen Kommentar