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
Jaksa Suzic
NA
3
1.1k
Selecting data in dataGrid (WPF)
May 18 2015 2:28 PM
Hi guys,
I am new to WPF so any explanation would be appreciated. I want to do a simple thing, but can't find appropriate solution.
I have dataGrid that displaying some data (cust ID, name, lastname, city etc). Next to it I have few textboxes (empty). I want to fill textboxes with cell value from selected row. So, when I select second row then in first textbox should be cust name, in second tb cust last name etc. That is first problem, and second is that I can't select row in datagrid by just clicking on some cell, instead I must click in small field in frond of every row. Is there any chance that this can be changed? I know that first problem have solution and that it is possible very simple, but it is big problem for me. I tried to use SelectedCellsChanged or SelectionChanged but I can't get value from selected row.
Reply
Answers (
2
)
Add Items in the combo box on the fly
Help Me