The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Does any one know how to make virtical and horizontal scrolling be smooth? I don't want to scroll per cell, I want to be able to scroll with X amount based on the scroll bar. i.e an editor.
Also, is there any one to make cell selection not to scroll the grid at all? i.e if I clicked on a partial visible cell, the grid will make entire cell visible. Is there any one to prevent that?
Thanks,
Patrick
ADAdministrator Syncfusion Team October 17, 2003 09:27 PM UTC
No, not currently. We will support pixel scrolling in a future release.
That said, you can simulate not scrolling a whole cell by using covered cells. The idea is instead of having a 'normal' width cell, have maybe 10 cells of 1/10 the width of the normal cell, and then cover these 10 cells to make them look like the one normal cell. This will allow the 'normal cell' to scroll in 1/10 increments instead of its normal single cell scroll increment.
PAPatrickOctober 20, 2003 10:55 AM UTC
Clay, thanks for the quick reply.
Your suggestion is great, I hope you guys can have pixel scrolling soon.
My second question was, how can I prevent the grid from shifting the selected column from partial visible to completely visible when I select a partially visible cell. Can you please give me some advice?
ADAdministrator Syncfusion Team October 20, 2003 12:09 PM UTC
Try handling the CurrentCellMoving event and there you can adjust
e.Options &= ~GridSetCurrentCellOptions.ScrollInView;
If that does not work then try handling CurrentCellMoving, and set some boolean flag. The handle LeftColChanging and set e.Cancel = true; if the boolean flag is set. In CurrentCellMoved you should reset the boolean flag.
Stefan