Datatable Inline Editor with select
Datatable Inline Editor with select

Hello Allan,
I am using the Inline Editor and facing some weird issue.
Basically I am using a select in one column, and selecting the value from select is working fine, when I click on another column for editing and updating that field, the Select column sends back to the server first value of Select options.
however I am using blur:'submit' only.
https://datatables.net/forums/uploads/editor/lc/abytzpmrq0uw.png
https://datatables.net/forums/uploads/editor/5p/ydefdzuz3vqp.png
kindly please help me, how can I resolve this.
Thanks
Answers
Hi,
I’m afraid I’m not sure what would cause that, as the example we have with a
select
with inline editing appears to be working without any issues.Could you give me a link to your page please?
Thanks,
Allan
Hi Allan,
Well I resolved this problem as follows, Let say I have options like following.
Select Category= "-1"
Alpha ="1"
Beta="2"
Gamma ="2"
so when submitting the data, I am checking if option selected is -1 then no value should be submitted for category.
Thanks.
Wasif