Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
How can I scroll page programmatically?
posted

Hi

I'm not good at English sorry

I want to scroll xamspreadsheet panel to some index.

How can I scroll page programmatically?

Thank you

Parents
No Data
Reply
  • 2151
    Verified Answer
    Offline posted

    Hello Joseph,

    The SpreasheetPane class has a number of methods for scrolling a cell, row or column into view:

    public void ScrollCellIntoView(SpreadsheetCell cell);
    public void ScrollColumnIntoView(int index);
    public void ScrollRangeIntoView(SpreadsheetCellRange range);
    public void ScrollRowIntoView(int index);

    You can invoke these methods on the active pane:
    XamSpreadsheet.ActivePane

    or any other XamSpreadsheet's pane:
    XamSpreadsheet.Panes[]

    If you require any further assistance, please do not hesitate to ask.

    Sincerely,
    Radko Kolev
    Senior Software Developer

Children