onBlur, data is submitted without any changes

onBlur, data is submitted without any changes

nipunafexconnipunafexcon Posts: 2Questions: 2Answers: 0
edited August 2017 in Free community support

Hi,
I have been struggling for an issue of submitting data even there were no changes done.

Can anyone help,

var editor = new $.fn.dataTable.Editor({
            ajax: "<?php echo $this->url('cms/city', array('action' => 'edit-bulk-data')); ?>",
            table: "#dttable",
            formOptions: {
                inline: {
                    onBlur: 'submit',
                }
            },
            fields: 
            [   
                {
                    label: "City name:",
                    name: 0
                }, {
                    label: "Amount:",
                    name: 1
                },{
                    label: "ETA(hr):",
                    name: 2
                },
                {
                    label: "ETA(m):",
                    name: 3
                }
            ]
        });
This discussion has been closed.