Silverlight 4 Grid vs DataGrid ==>Pivot { Database Rows as Column } grouped by unique value in row -


data model:

a document contains 1 more recordings , unique identifier. document template defines tabular format of recordings defining sequence of recordings.

ui design:


{static number of rows per template}|document1 | document2 ......{dynamic number of column}


record1 name: | value of recording1 in doc1 | value of recording1 in doc2


record2 name: | value of recording2 in doc1 | value of recording2 in doc2


database model :

each value in above tabular column row in database , 1 item in observable collection.

question :

is solution possible using data grid? give me directions ?

my solution :

used grid layout , create dynamic rows based on count of recording on template .

generate columns based on distinct documents available.

bind items in observable collection in textbox , add content column setting row & column attached property of text.

my problem:

i have write code column header / resizing etc... grid layout nt support these.

any suggesion welcomed..

refer question. have implemented similar thing i.e. fetching required data database using wcf ria entities , binding dynamic tables rows data dynamic columns (in case, roles) right now, facing slight rendering issue. let me know if you.


Comments

Popular posts from this blog

jQuery Ajax Render Fragments OR Whole Page -

javascript - Iterate over array and calculate average values of array-parts -

java - Simple Command Line calculator -