table model design 2

Second design of the table

by psaraswathi

HTML

Second design of the table similar to the array

JavaScript

var arr = [{col1},{col2},{col3},{col4},{col5}];
var arr = [
						{col1:val,col2:val,col3:val,col4:val,col5:val},
            {col1:val2,col2:val2,col3:val2,col4:val2,col5:val2}
            {col1:val3,col2:val3,col3:val3,col4:val3,col5:val3}
					]

//Followins is above the data is presented also

///Basically its array of rows with each row representing an object with list of key value pairs.. where the key representing a column
//the meta about the construction of the table

//similarly to construct the