Using latest version of NetAdvantage 2010.3 ultragrid on Win 7 platform.
Is there some VB.NET code showing how to get the mouse wheel to scroll when a cell is in edit mode? Mouse wheel works nicely everywhere else and in DataWidgets 3.11 BUT I cannot get it to work in Ultragrid. Scrollbar works just fine. Why doesn't the mouse wheel!?
bwa
Hi bwa,
What scroll bar are we talking about here? There are any number of reasons why a cell might display a scrollbar in various places. So I need more specifics about what data type the cell is and why it's showing a scrollbar.
Also, is the cell in edit mode?
HI,
Okay, I tried this out and it works just fine for me. Whether a cell is in edit mode or not, the mouse wheel scrolls the grid vertically.
Does it matter which cell is in edit mode? Does this only happen for certain types of cells?
Makes no difference on the style of the cell, i.e.: dropdown, text (default), edit button,... All that seems to stop mouse wheel scrolling is whether the cell is in edit mode or not. In edit mode, no grid scrolling!?
Boris,
Two problems with the posted example, I think?:
1) We don't have C# loaded; only using VB .NET 2010
2) We're using 2011.1 of NetAdvantage, not 2012.1. Not sure if this has any impact upon the potential fix.
Could you simply explain the fix for the mouse wheel problem so we can give it a try?
Thanks.
That's perfect, thanks very much!
Hello jcwild,
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Ah ha! It seems to be the case that if CellMultiLine is set to True on the column, when editing a cell in that column the MouseWheel does not work.
Can you confirm, and is there a workaround?
I'm finding the exact same thing - MouseWheel scrolls just fine on the grid, but as soon as I enter Edit Mode the grid won't scroll. Did anyone ever come up with an explanation?