i am very new to tabulator just downloaded it and tried using it in my code, I replaced the tags with , introduced and , created a tabulator constructor.. table heading and data are fetch on the go.. but not able to get the data on web page..

code is as below

  <HTML>
<link href="<%=request.getContextPath()%>/css/tabulator.css" rel="stylesheet">
<head>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/tabulator.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/tabulator_core.js"></script>
<SCRIPT LANGUAGE="JavaScript">

$("#cons_table").tabulator({});

</SCRIPT>
</head>
<body onload="">
<table id="cons_table" border=1>
<thead>
<tr>
    <th>ROLL NO</th><th>NAME</th><th>MATHS</th><th>SCIENCE</th><th>SOCIAL</th>  
    <th>TOTAL</th><th>PERCENTAGE</th><th>RANK</th>

    </tr>
    </thead>
    <tbody>

        <tr>
         <td>12</td>
            <td>Billy Bob</td>
            <td>12</td> <td>12</td> <td>12</td>
            <td>56</td>
            <td>17</td>
            <td>3</td>
        </tr>
        <tr>
            <td>12</td>
            <td>jugs Bob</td>
            <td>87</td> <td>67</td> <td>45</td>
            <td>56</td>
            <td>17</td>
            <td>1</td>
        </tr>
    </tbody>
</table>
 </BODY>
</HTML>

0 Answers