Jeditable & Drill Down Rows - id problem
Jeditable & Drill Down Rows - id problem
I am using datatables with server side processing, jeditable and drill down rows. I have as my first column the details_open.png icon for the drill down rows. This code to include this comes from the details_col.php example
[code]
/* Add the details image at the start of the display array */
$row[] = '';
[/code]
I understand for Jeditable to work, "you will need to send ID as a first column and make it hidden in the data tables configuration. [per Jocapc - http://www.datatables.net/forums/discussion/5028/datatables-jeditable/p1].
As I see it, both drill down rows and jeditable conflict in their use of the first column. Has anyone come up with a solution to this problem. In my case, I would like the id used by Jeditable to be the second column, "Job_No" or better still id = $sIndexColumn which is defined in objects.php = "Job_No". Can someone help on how to code this.
Thanks, Bandan
[code]
/* Add the details image at the start of the display array */
$row[] = '';
[/code]
I understand for Jeditable to work, "you will need to send ID as a first column and make it hidden in the data tables configuration. [per Jocapc - http://www.datatables.net/forums/discussion/5028/datatables-jeditable/p1].
As I see it, both drill down rows and jeditable conflict in their use of the first column. Has anyone come up with a solution to this problem. In my case, I would like the id used by Jeditable to be the second column, "Job_No" or better still id = $sIndexColumn which is defined in objects.php = "Job_No". Can someone help on how to code this.
Thanks, Bandan
This discussion has been closed.
Replies
[code]
$row['DT_RowId'] = $aRow['Job_No'];
[/code]
So I can have the drill down rows icon in column 1.
Bandan88