TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
NeCroFire
NA
86
0
DataTable
Jan 19 2009 8:46 AM
I have been Googling all over to try and find a way to set a certain column to hidden. It seems the only way is to hide it in the DataGrid (Working in windows Forms), but I would like to be able to set a Column as Hidden in the DataTable and have the DagaGrid hide that column. I have tried this: datatable.Columns[0].ColumnMapping = MappingType.Hidden; But that does not work. Is there a way to create one's own Custom DataTable, inherited from the original DataTable, so one would be able to specify a column to be hidden. I'm thinking you might need a custom datagrid as well? Summary: Developer must be able to specify which column should be hidden. Datagrid should be able to tell which columns to hide. I'm not to good with custom controls, if someone could help it would be much appreciated. Thanks [EDIT]: For some reason the post keeps going into one line...
Reply
Answers (
4
)
Intellisense for WPF application
The Car Parking Radar Automatically Detecting Obstacles Avoiding Collision!