This is a migrated thread and some comments may be shown as answers.

Problem of GridViewRow

0 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
guo
Top achievements
Rank 1
guo asked on 24 Jun 2020, 03:50 AM

Hello,

var rowList = gridControl.ChildrenOfType<GridViewRow>();
var emloyeeRowList = rowList.Where(x => (x.DataContext is AppointmentInfo) && (x.DataContext as AppointmentInfo).EmployeeId == employeeId).ToList();

If emloyeeRowList.Count is 2,and i insert a same employeeId AppointmentInfo to the ItemsSource of the GridView.The emloyeeRowList.Count is still 2.

When is the emloyeeRowList.Count 3?  Or which event should i used to get the emloyeeRowList.Count 3?

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
guo
Top achievements
Rank 1
Share this question
or