Is it possible to use drop down list ddl in datatable without submit ?
Is it possible to use drop down list ddl in datatable without submit ?
ElyaNordin
Posts: 4Questions: 3Answers: 0
The code below is a table that will display all data from database. I want to use drop down list to select the Status option. Is it possible to hold/catch the selected option after just selecting an option in a dropdown list without submit button? If can, how to do it?
var table = $('#dataTable').DataTable({
aaSorting: [],
lengthChange: false,``````
columns: [
{ title: "Assign To", data: "Task_AssignTo" },
{ title: "Customer", data: "Task_ContactName" },
{ title: "Company", data: "Task_ContactCompany" },
{ title: "Project", data: "Task_Project" },
{ title: "Tasks", data: "Task_Name" },
{ title: "Priority", data: "Task_Priority" },
{ title: "Due Date", data: "Task_DueDate" },
{ title: "Status", data: "Task_Status" },
{ title: "", width: "40px" },
{ title: "", width: "40px" }
],
This discussion has been closed.
Answers
Hi @ElyaNordin ,
Are you using Editor for these edits? Or your own mechanism?
Cheers,
Colin
Hi @colin , as i know, if I'm using Editor, then I need to purchase it first... Is there any other way to do the edit in the datatable without using the Editor ?
Hi @ElyaNordin ,
You can trial Editor, see the Download link there. Without Editor, you'll need to create the server-side scripts yourself, including the script that would retrieve those options.
Editor makes all this much simpler - as shown in this example here.
Cheers,
Colin