Click here to Skip to main content
15,905,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used bootstrap js and data-toggle="table" for my table.After button click I am returning a string with row structure and by jquery I am appending the string to the table tbody.So the rows are created.
var row="
(tbl tbody).append(row);

In this way my table is created.But the bootstrap table style is not working.Just for example,in bootstrap table there is row filtering option.Nothing is implemented when adding row by button click.

So how to do it?

Even jquey datatable is shown only with json sources.What if I append row dynamically by string?There is no answer of it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900