DataTables in-combination with jEditable

DataTables in-combination with jEditable

Hello,

i´am trying myself with the plugins described at
http://datatables.net/examples/api/editable.html

Its very cool, but i have a little problem/question regarding the ajax/callback:

I have used the example code from the page:

<script type="text/javascript">
var oTable;
   $(document).ready(function() {
      /* Apply the jEditable handlers to the table */
      $('#example tbody td').editable( '../index.php/masterplan/masterplan_settings', {
         "callback": function( sValue, y ) {
            var aPos = oTable.fnGetPosition( this );
            oTable.fnUpdate( sValue, aPos[0], aPos[1] );
         },
         "submitdata": function ( value, settings ) {
            return { "row_id": this.parentNode.getAttribute('id') };
         },
         "height": "14px"
      } );

   
      /* Init DataTables */
      oTable = $('#example').dataTable();
   } );
</script>

   <table cellpadding="0" cellspacing="0" border="0" class="display" id="example" width="100%">
   <thead>
      <tr>
         <th>Schichtzeit</th>
         <th>Montag</th>

         <th>Dienstag</th>
         <th>Mittwoch</th>
         <th>Donnerstag</th>
      </tr>
   </thead>
   <tbody>
    <?php foreach($schichten AS $result){?>
      <tr id="<?php echo $result->schicht_id;?>" class="gradeX">

         <td><?php echo $result->schicht_start. " - " . $result->schicht_ende;?></td>
         <td>8</td>
         <td></td>
         <td class="center">4</td>
         <td class="center">X</td>
      </tr>
   <?php }?>
   
   </tbody>
</table>


The php returns "Test", and thats right, its working fine.....

BUT:
its static, with every click, i get always "Test". I want to add parameter
to the server-side.

something like:

$('#example tbody td').editable( '../index.php/masterplan/masterplan_settings/dataX', {

the dataX should be the value of the table....


Here the php:
function masterplan_settings()
   {
      
      
      echo"Test";
      
   }






And idea ?

Greetings,
Julian