76
rated 0 times
[
80]
[
4]
/ answers: 1 / hits: 60386
/ 8 Years ago, wed, march 16, 2016, 12:00:00
I need to make dropdown as column in DataTable jQuery it is lookinng like as below right now
And I want it like the below image
and the code which I use is
<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
});
});
More From » jquery