jquery - vertical grid/table layout javascript -



jquery - vertical grid/table layout javascript -

i need display json info vertically instead of horizontally:

column1: value1

column2: value2

and on.

these values coming database , i'll need ability scroll through records beingness returned database.

this mvc3 application using c#, , i'm open whatever possible solutions out there.

update:

while below wasn't needed, set me on right path using pivot table hadn't thought previously.

if want utilize linq, convert this:

var pivottable = m in db.table select new { column1 = (from t1 in m t1.field == "column1" select t1.value, column2 = (from t2 in m t2.field == "column2" select t2.value }; json(pivottable, jsonrequestbehavior.allowget)

first look:

----------------- field | value | ----------------- column1 | 14 | column2 | 34 | column1 | 14 | column2 | 36 | column1 | 18 | column2 | 34 |

after linq query

column1 | column2 | ------------------- 14 | 34 | 14 | 36 | 18 | 34 |

javascript jquery asp.net-mvc-3 table

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -