kannan D.S
kannan D.S

Reputation: 1101

Jquery Dynamic table column issue

I have a jquery dynamic table its values comes from the from,to date picker. I need display first two columns free for adding two informations. How can i make it possible. Iam attaching my fiddle here http://jsfiddle.net/uScc2/9/

<table cellpadding="0" cellspacing="1" id="our_table">
    <th id="dte"></th>
    <tr>
    </tr>
    <tr>
    </tr>
</table>

Upvotes: 1

Views: 161

Answers (1)

Yaje
Yaje

Reputation: 2821

try this updated fiddle of yours

i simply put these:

 $('#our_table tr.td_rows').append('<td>CATEGORY HERE</td>');
 $('#our_table tr.td_rows').append('<td>NUMBER HERE</td>');

before looping your data. and these:

newHeaders += '<th>COLUMN</th><th>NUMBER</th><th>' + between[i] + '</th>';

for the headers

Upvotes: 1

Related Questions