Problem in JS
Problem in JS
fmarguerie
Posts: 36Questions: 3Answers: 0
hi,
In the test above when clicking to make the chlidrow appears, I don't display the good informations,
Must me somthing stupid, but I'm starting to turn crazy.
The **encaisse **data displays the name
Answers
My firt colums Etat is supposed to be a button and is not displayed .
Any help ?
If I add a nev column empty <td></td>, the etat colum appears but the data table is broken grrrrrrrrrr
You have defined 9 columns in HTML but only eight in Datatables. They need to match. Looks like you are missing the Client column in
columns.data
.Kevin
Ok, but if I add the missing column, the datatable is broken and the button for childrow is not displayed any more.
What is the problem in this test case ?
http://live.datatables.net/fazijami/25/edit
check thte 2 options in the HTML code .
As I mentioned the number of columns in HTML need to match the number with
columns.data
. You need to add acolumn.data
forclient
, like this:http://live.datatables.net/lumoxive/1/edit
Kevin