Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i simulate the function of WORD TABLE,that can split and meger cells arbitrarily,any code can help? thank you all
Posted
Comments
Richard MacCutchan 11-Dec-12 4:14am    
Probably by writing a lot of code.

You could also look at the DataGridView class to see if that has any features that you could adapt for your needs.
Sergey Alexandrovich Kryukov 11-Dec-12 13:10pm    
I know one "secret weapon", of a very good quality -- please see my answer.
--SA

One wonderful way of doing it is provided in this CodeProject article: A Professional HTML Renderer You Will Use[^].

The control is based on RichTextBox and allows you to use HTML as a data source. And, with HTML you can simulate almost everything.

—SA
 
Share this answer
 
thanks Sergey,bu is not what i want,it like this Picture,in that, i can meger and split any cell,and i can select one cell to update its property, like font、color and so on
 
Share this answer
 
v2
thanks for Lina99, i don't want to buy a component at the moment, desire a better solution, The most important thing is split a cell
 
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