| | |
Tables
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2009
Posts: 1
Reputation:
Solved Threads: 0
So, i'm new to C# and not really sure how to do this. I need to create an options table where when the user loads it, it looks sort of like this http://img11.imageshack.us/img11/9012/formf.jpg
On the initial load, all of the data members are on top, loaded from an array. If the user doesn't want a particular data member to be used all they have to do is highlight it and click the down arrow. This moves the entire row from the top table to the bottom table visual wise, and to a different array data wise. I assume I would use something like a ListView, but I'm not sure how to make it behave like I want it to. When the user clicks a row I want the whole row to be highlighted, and I would like the give the user the ability to sort all rows by a particular column.
On the initial load, all of the data members are on top, loaded from an array. If the user doesn't want a particular data member to be used all they have to do is highlight it and click the down arrow. This moves the entire row from the top table to the bottom table visual wise, and to a different array data wise. I assume I would use something like a ListView, but I'm not sure how to make it behave like I want it to. When the user clicks a row I want the whole row to be highlighted, and I would like the give the user the ability to sort all rows by a particular column.
0
#2 Nov 1st, 2009
Its all basic list view control stuff. the list view can be difficult to work with, I recommend a ListView control tutorial. there are many. If I were to explain to you all that your question entails inside of this reply, it wold practically be a book.
here's a good start:
http://programmerslog.wordpress.com/...tview-control/
But that's just a start, google around, there are some good articles out there.
here's a good start:
http://programmerslog.wordpress.com/...tview-control/
But that's just a start, google around, there are some good articles out there.
![]() |
Other Threads in the C# Forum
- Previous Thread: problem in datagrid form
- Next Thread: Trying to iterate through XML files
Views: 585 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for c#, listview, table
.net 2d access adobe append applicatio array asp asp.net beginner broadcast button c# calendar chat check class collections combobox commerce concurrency connection database datagrid datastructure datetime degrees deserialized development drawing dropdown editor enabled enum error excel file form formbox gdi+ geometry http httpwebrequest index insert javascript keypress label list listbox listview login mailmerge marshalbyrefobject math menu messenger mysql nargalax operator oracle photoshop php picturebox pointer post print programming python read remote remoting resource richtextbox saving script serialization server silverlight sql sql-server string stringformatting table tcpclientchannel tennis textbox timer treeview uploadatextfile vb video view vistaflaw webbrowser wia winforms wordautomation working wpf






