Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82436

Update for a hidden column

$
0
0
Hello
I am new with DataTables. I have now a datatabel with data from a mysql db and with Ajax request
Now I try to edit table data and want then to update also in a mysql db
The inline edit and save works fine. I did is like in this example
http://datatables.net/blog/Inline_editing

My problem is now;
To make an easy update later in the MySQl db I would like to do this with thew unique ID from the row.
In the moment I load the ID in the first column of my table. But this is not so nice because the user do not want to see the internal ID. It is not helpful for him.
But when I try to disable the first column like;
[
{ "mData": "timeid",
"bVisible": false,
"sWidth": 1

},
{ "mData": "projectday",
"sWidth": 80
},

I cannot do the Edit later because there is an mismatch of the columns.

Can somebody give me an hint ?

best regards
Hans

Viewing all articles
Browse latest Browse all 82436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>