hi, Im using edatagrid extension to update some values
but not how to get server side some extra data
here my example:
$('#dg-ab').edatagrid({
url: 'get_datagrid_data.php',
idField: 'id_game',
updateUrl: 'update_data.php',
});
<table id="dg-ab">
<thead>
<tr>
<th field="game_name" width="290" sortable="true"></th>
<th field="score_game" width="50" sortable="true">High Score</th>
<th field="player1" width="50" sortable="true" editor="{type:'numberbox',options:{min:0, max:100, precision:2}}">Player 1</th>
<th field="player2" width="50" sortable="true" editor="{type:'numberbox',options:{min:0, max:100, precision:2}}">Player 2</th>
<th field="player3" width="50" sortable="true" editor="{type:'numberbox',options:{min:0, max:100, precision:2}}">Player 3</th>
<th field="player4" width="50" sortable="true" editor="{type:'numberbox',options:{min:0, max:100, precision:2}}">Player 4</th>
<th field="player5" width="50" sortable="true" editor="{type:'numberbox',options:{min:0, max:100, precision:2}}">Player 5</th>
</tr>
</thead>
</table>
the entire row was edited updating scores of five players per game
although not shown in Table I have the game id from the 'get_datagrid_data.php',
I need to get in 'update_data.php' is
$id_game = $_POST['id_game'];
$score_game = $_POST['score_game'];
$player_1_score = $_POST['player1'];
$player_2_score = $_POST['player2'];
$player_3_score = $_POST['player3'];
$player_4_score = $_POST['player4'];
$player_5_score = $_POST['player5'];
then the question is how to get the field score_game which is not editable?