Hi Team
I need some helpe below, basically i want to get dropdownlist for WhoAttend column, but my dropdownlist doesnt seem to work as expected. Need some improvement to this logic below, please mates.
- $(document).ready(function () {
- $("#EventsManagementsTable").DataTable({
- "columnDefs": [
- { "width": "5%", "targets": [0] },
- { "className": "text-center custom-middle-align" ,"targets":[0, 1, 2, 3, 4, 5, 6] },
- ],
- "serverSide": "true",
- "order":[0,"asc"],
- "processing": "true",
- "language": {
- "processing": "processing...... please wait"
- },
- "ajax": {
- "url": "/Dashboard/GetData",
- "type": "POST",
- "datatype": "JSON",
- },
- "columns": [
- {"data": "TrainingType", "name": "TrainingType"},
- { "data": "TrainingDescription", "name": "TrainingDescription"},
- { "data": "Price", "name": "Price"},
- { "data": "Venue", "name": "Venue"},
- { "data": "Facilitator", "name":"Facilitator" },
- { "data": "WhoAttend", "name" : "WhoAttend" },
- {"data": "RSVP", "name":"RSVP" },
- {
- className: "center",
- defaultContent:` class='custom' >
- >select something
- >Apple
- `
- }
- ]
- });
- });
Ronika JencyPosted Feb 17, 2020, 5:57 AM
Guest UserPosted Feb 17, 2020, 4:05 AM
Ronika JencyPosted Feb 17, 2020, 2:50 AM