Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Display data and modify the layout
 

Display data and modify the layout

Hi,
I havea requirement where in I can dispay the data in a tabular fashion:
There should be capability to drag and drop the rows as well as link the cells with kind of arrows.
I am attaching a screen shot of the layout thats expected.
We have the EXE for this tool developed but dont have the code.
It would be nice if someone could tell me the way forward:



The coluring is not required but check the linking between the cells. I have the source data to be read from excel file.
One should have the capability to drag the rows up or down as needed.
The row currenlty shown in grey highlight & blue row 1st column has been selected for dragging.
Any help would be appreciated.

Hope this helps !!
Please close the thread once answered

Sudeep My Blog
Sudeep Raj  Tuesday, September 29, 2009 9:45 AM
Thanks Ling,
However i dont feel thats what I need right now, it did show me a way of doing things may be useful in future.

I had the same query posted on another MSDN forum and got a reply about the custom control and thats exactly what I needed.

http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/61e8ee14-87c5-4969-9478-fe49075a02d0


Hope this helps !!
Sudeep My Blog
Sudeep Raj  Tuesday, October 06, 2009 3:20 PM
Anyone with any ideas?
Hope this helps !!
Please close the thread once answered

Sudeep My Blog
Sudeep Raj  Wednesday, September 30, 2009 11:20 AM

Hi,

 

It’s difficult if you want to implement using windows forms TreeView control. You’d better use WPF treeview control instead. You can create custom controlTemplate for the TreeViewItem, and this will be easy to control treeview items layout.

The following article shows an example about Custom WPF TreeView control. Hope this helps.

http://www.codeproject.com/KB/WPF/CustomTreeViewLayout.aspx

 

Best regards,

Ling Wang


Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Tuesday, October 06, 2009 2:54 AM
Thanks Ling,
However i dont feel thats what I need right now, it did show me a way of doing things may be useful in future.

I had the same query posted on another MSDN forum and got a reply about the custom control and thats exactly what I needed.

http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/61e8ee14-87c5-4969-9478-fe49075a02d0


Hope this helps !!
Sudeep My Blog
Sudeep Raj  Tuesday, October 06, 2009 3:20 PM

You can use google to search for other answers

Custom Search

More Threads

• ListChangedType.Reset
• Controling forms datasorse through vb
• Sorting items in listview in C#
• VB2005 Safe picture to ms access database
• using excle file
• How to use DataGrids in a Windows app
• log off automatically
• VB2005 Save coordinates in array?
• collecting data from dataset
• [c#]forgive me about the "million" post for dgv update database