Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am new to WPF and i have a data in following format


pri1 pri2 pri3 pri4
task 1 0
task 2 0
task 3 x
task 4 x


Here the data read with row and following column
Grid is used for layout and datagrid works good for table like employee list.

Please suggest which grid amy support this layout.

Thanks in advance
Snehal
Posted
Updated 7-Oct-13 23:54pm
v3
Comments
Pheonyx 8-Oct-13 6:00am    
Can you explain a bit further?
Your first row has 4 columns, and the the following rows only have 3, is that correct?

If there is meant to be a 4th column in the other rows, what is meant to be stored in it?
What sort of layout are you after (as I can't tell from the question)?
snehalgb 8-Oct-13 6:42am    
P1 P2 P3
task1 x
task2 x
task3 x
there may be n rows and n columns data is read as task1 has priority1 task 2 has priority1 task 3 has priority 3 which is indicated with "x"
snehalgb 8-Oct-13 6:43am    
not coming properly check in solution
Pheonyx 8-Oct-13 7:27am    
Have a read of this:

http://stackoverflow.com/questions/4138441/dynamic-data-matrix-wpf
snehalgb 23-Oct-13 3:17am    
Thank you :)

1 solution

          P1   P2    P3
task1      x
task2      x
task3                 x
there may be n rows and n columns data is read as task1 has priority1 task 2 has priority1 task 3 has priority 3 which is indicated with "x"
 
Share this answer
 

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