I use XPTable to store values ββin my winform application. His work is beautiful and has many functions. But I am facing a problem while scrolling through a table. If the scroll point is in the middle of the table and I import some data into the table, unexpectedly a strange image is displayed in the table, as shown below.

Anyway, to avoid this problem? Is it related to painting? I searched the net more for this issue, but found nothing. Can anyone use this xptable to answer me?
Edit: XPtable is 32-bit, but I use it on the 64-bit version. is the cause of the error? other functions work fine.
What I do, I get user input through a text file and loading these values ββinto the database. After that, I get the values ββfrom the database and import them into the table as follows. (Due to the large data in the text file, I save the db and retrieve it. Otherwise, it will freeze or take too long.
foreach (var tokens in list2) { string uname = tokens.name; if (string.IsNullOrWhiteSpace(uname)) { uname = ""; } Row r = new Row(); r.Cells.Add(new Cell(snumber, Color.FromArgb(232, 79, 79), Color.White, f1)); r.Cells.Add(new Cell(uname, Color.FromArgb(232, 79, 79), Color.White, f1)); r.Cells.Add(new Cell(tokens.Token, Color.FromArgb(232, 79, 79), Color.White, f1)); r.Cells.Add(new Cell(tokens.Campaign, Color.FromArgb(232, 79, 79), Color.White, f1)); r.Cells.Add(new Cell("", (Image)new Bitmap(10, 10))); r.Cells.Add(new Cell("", (Image)new Bitmap(10, 10))); r.Cells.Add(new Cell("", (Image)new Bitmap(10, 10))); r.Cells.Add(new Cell("", (Image)new Bitmap(10, 10))); this.Invoke(new MethodInvoker(delegate { tableModel1.Rows.Add(r); })); snumber++; }
If the scrollbar is in the starting position, this does not cause any problems. In this weird image, if I click anywhere the cell value is displayed. Its totally weird :(