Try to play around with the Column- and RowVirtualization Properties of the DataGrid.
Up vote 0 down vote favorite share g+ share fb share tw.
I am seeing abnormal behavior in datagrid when the item source is very large list(>4000) like the columns are disappearing while scrolling horizontal scroll bar and even extra column(i mean repeated columns) are appearing rather than specified. Here is my xaml code. Here is my code behind enter code here public Window1() { pLogList = new List(); InitializeComponent(); try { pLogList = new List(); pLogList.
Add(new LogList(DateTime. Now, " "GUI")); //LogList is a class and I hav written each properties to bind to datagrid datagridtest. ItemsSource = pLogList; } catch (Exception pEx) { // MessageBox.
Show(pEx. Message); } } here is my LogList class enter code here public class LogList { public LogList(DateTime date,string mess,string sev,string time) { m_Date = date; m_Time = time; m_Severity = sev; m_Message = mess; } string m_Time; string m_Message; string m_Severity; DateTime m_Date; public DateTime Date { get { return m_Date; } set { m_Date = value; } } public String Message { get { return m_Message; } set { m_Message = value; } } public String Severity { get { return m_Severity; } set { m_Severity = value; } } public String Time { get { return m_Time; } set { m_Time = value; } } } I hope that I am clear with my problem and look forward for a solution Thanks Everyone c# wpf xaml link|improve this question edited Nov 1 '10 at 13:54 asked Nov 1 '10 at 13:36Eshwar Molugu11.
Try to play around with the Column- and RowVirtualization Properties of the DataGrid. These properties are mostly the culprits of such issues.
I have tried all combination of properties of row and column virtualiztions of datagrid but of no use.. – Eshwar Molugu Nov 3 '10 at 5:50 Guys, Can anyone help me out with this problem....Actually I need it quickly.... – Eshwar Molugu Nov 17 '10 at 4:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.