How To send Submit if Cell Checkbox checked
How To send Submit if Cell Checkbox checked
Sunilgoel
Posts: 48Questions: 19Answers: 0
Hi ,
I have cell type "checkbox" , if Checked then Value will be "Y" else "N" .
If checkbox select or unselect , how to submit and set value Y or N in tables.
Regards.
Sunil
This discussion has been closed.
Answers
Do you have license to the Editor or you are only using the DataTable?
Hi
Yes i have Editor License.
Regards.
Sunil
Hi Sunil,
You should be able to use the
options
parameter for thecheckbox
field type to set the values and labels that you want to use.There is an example of that available here.
Allan
Hi Allan,
When i Checked checkbox , does not send data to server where as if i changed anything changed value in cell then works well. Please suggest.
Regards.
Sunil
Hello Sunil,
Sorry, I missed the reply. Have you tried this sample
https://editor.datatables.net/examples/api/checkbox.html
Make sure you set the options (with the value to 'Y')
and this code, which submits the changes
Hi Paulus,
work done. Thanks Guys.
Regards.
Sunil