Problem with jQuery Mobile Tables - Column Toggle Table

Problem with jQuery Mobile Tables - Column Toggle Table

Hello users! I want create a web app for my homepage. But my knowledge status in javascript and jquery is just a little bit low. I can not find my syntax error or my thoughts are wrong. I will be glad if somebody can help me.

First of all, I send an array from my msql-database with PHP and JSON to the javascript. Just like this:  [{"eintrag_id":"2473","aktiv_datum":"2016-01-05"},{"eintrag_id":"2469","aktiv_datum":"2016-01-05"}] 

When I startet the page all columns and rows will be loaded in the table.- That's fine. 
In the next step I want hide the column "aktiv_datum" (Date) with the toogle button.
>>> Now, the problem: only the column-heading was hided. The columne-data source not.
see my picture: 



When I refresh the browser with the browser button (refresh) or Function button (F5), the table is loaded again and all toggle function are works fine now.


Where is my error ????

My data source:
  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <title>testpage</title>
  6. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
  7. <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  8. <script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
  9. </head>
  10. <body>
  11. <div data-role="page">
  12. <div data-role="header">
  13. <a href="" data-icon="back">back</a>
  14. <h2>Overview</h2>
  15. </div>
  16. <div data-role="main" class="ui-content">
  17. <table data-role="table" id="myTable" data-mode="columntoggle" class="ui-body-d ui-shadow table-stripe ui-responsive" data-column-btn-theme="b" data-column-btn-text="Columns to display..." data-column-popup-theme="a">
  18. <thead>
  19. <tr class="ui-bar-d">
  20. <th data-priority="1">ID</th>
  21. <th data-priority="2">Date</th>
  22. </tr>
  23. </thead>
  24. <tbody>
  25. <script type="text/javascript">
  26. var url = 'db_haushaltsbuch_uebersicht.php';
  27. var tbody = $('#myTable tbody'),
  28. props = ["eintrag_id", "aktiv_datum"];
  29. $.getJSON(url, function(data) {
  30. $.each(data, function(index, data) {
  31. var tr = $('<tr>');
  32. $.each(props, function(index, prop) {
  33. $('<td>').html(data[prop]).appendTo(tr);
  34. });
  35. tbody.append(tr);
  36. });
  37. });
  38. </script>
  39. </tbody>
  40. </table>
  41. </div>
  42. <div data-role="footer">
  43. test page
  44. </div>
  45. </div> 
  46. </body>
  47. </html
Many thanks for your help!