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
Raghunath Pentela
NA
59
4.4k
WPF Datagrid + MVVM + Header Change by ViewModel
May 15 2019 4:46 AM
WPF Datagrid + MVVM + Header Change by ViewModel
with autogeneratecolumns true.
I have two table entities in a Dbcontext Model. Table2 contains all configuration of column for e.g Header Fieldname, Header Description, Color, Font e.t.c
I am populating table1 in wpf datagrid through viewmodel. I want to replace the header names with the header description of table2 through MVVM
Table1:
(Default WPF Datagrid)
SrNo Col1 Col2
Table2:
FieldName Description
SrNo Serial No
Col1 Name
Col2 Age
My datagrid should be
Serial No Col1 Col2
My table1 and table2 are dynamic and autogenerate columns must be true.
Reply
Answers (
10
)
How to add an item to combobox if no item found?
How to stop update database from updating all the records