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

Issues with scrolling

2 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Froggie
Top achievements
Rank 1
Froggie asked on 24 May 2012, 10:08 AM
I'm still evaluating your GridView and got some issues with it.
See linked project Sample Project.

  1. When scrolling with the mousewheel, the first column has the wrong image (selected instead of unselected).
  2. How can I disable the "blue line" between the columns?

2 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 28 May 2012, 04:46 PM
Hello Froggie,

Please note that the correct way to apply the visual customizations you are after concerns the Formatting events. In your approach you are setting image\font on CurrentRowChanging, but whenever you scroll up and down, the cell elements are being reused by the data cells, because of the UI Virtualization capabilities of RadGridView. As a result, such issues are expected. You can refer to this blog post which explains some implications of the UI Virtualization. So, I modified your project to comply with the requirements that your code should meet in virtualized environment.

As to the blue line, you can open the theme you are using ("Windows7" theme), remove the border from the RadGridView >> RadGridViewElement >> GridTableElement >> GridDataRowElement >> [different types of cell elements],  save it and use it in your project. Alternatively, you can do that in the CellFormatting event as well. The latter is demonstrated in the attached project.

Please note that we are still expecting an answer from you on the questions asked in your thread Drag&Drop of Cell @ 1st Click. Otherwise, further support services from Telerik representatives may be denied. Thank you for your understanding.

Kind regards,
Nikolay
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Froggie
Top achievements
Rank 1
answered on 29 May 2012, 01:57 PM
Thanks for answering my question.
After making some tweaks (due to integration of larger sample project) it works for me.
Tags
GridView
Asked by
Froggie
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Froggie
Top achievements
Rank 1
Share this question
or