jqote

What is the fastest way to create HTML table with data from JavaScript array?

天涯浪子 提交于 2019-12-24 04:50:11
问题 I have the following code to convert my JSON dataset to html table. I want to know if it is the fastest method, or should I use jqote2 with jquery to write template? Requirements: can change col definitions with a click (client can change how to view table, col definition array will change, and table can be rebuilt) sorting, filter & pagination (I believe raw data can be sorted and table can be rebuilt) conversions (If say 1 col contains data of length in different units, than a new col in