Datatable doesn't show up

Datatable doesn't show up

phasuksmitphasuksmit Posts: 5Questions: 2Answers: 0

Here is my code put in <head></head>

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css" />

<link rel="stylesheet" href="//cdn.datatables.net/1.10.2/css/jquery.dataTables.min.css" />




and this in <body><_script></script></body>

var data = [
[
"Tiger Nixon",
"System Architect",
"Edinburgh",
"5421",
"2011/04/25",
"$3,120"
],
[
"Garrett Winters",
"Director",
"Edinburgh",
"8422",
"2011/07/25",
"$5,300"
]
]

$('#example').dataTable( {
data: data
} );

No anything showing up, and no error in console

Please suggest me how to fix this, Thank you in advance.

Answers

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    Please link to a test case as required in the forum rules.

    Allan

  • phasuksmitphasuksmit Posts: 5Questions: 2Answers: 0

    I dont know what is that.

    My only question is ... Is there any walk-through or instruction with Datatable ?
    I'm finding through this website and all not work.
    Actually there's no any clear instruction T_T

  • phasuksmitphasuksmit Posts: 5Questions: 2Answers: 0

    I dont know what is that.

    My only question is ... Is there any walk-through or instruction with Datatable ?
    I'm finding through this website and all not work.
    There

  • allanallan Posts: 63,552Questions: 1Answers: 10,477 Site admin

    I dont know what is that.

    This was linked to in the "New Discussion" form: http://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case .

    Is there any walk-through or instruction with Datatable ?

    http://datatables.net/manual/installation

    Allan

This discussion has been closed.