Bug Report T347109
Visible to All Users

PivotGrid is scrolled to the left on pressing the corresponding arrow key if HorizontalScrolling is set to Control

created 9 years ago

To Support,

I've set PivotGrid horizontal scroll behavior to include both filter fields and column fields.
PivotGridControl.OptionsBehavior.HorizontalScrolling = DevExpress.XtraPivotGrid.PivotGridScrolling.Control;

I have multiple filter fields and column fields so that scroll bar appears at the bottom.
In such case, when I move a focus from one cell to another using arrow keys, scroll bar jumps to the most left.
Would you be able to reproduce the issue and provide a solution for this?

Thank you.

Eisho

Comments (1)
DevExpress Support Team 9 years ago

    Hello Seonga,
    Would you please clarify what behavior you wish to have? Should the focused cell go out of a visual area? I hope to hear from you soon.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      created 9 years ago

      Hello Seonga,
      You can modify the scrolling behavior by handling the KeyDown event and the Handled property.

      C#
      private void PivotGridControl1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) {     PivotGridControl pivotGridControl = (PivotGridControl)sender;     if (e.KeyCode == System.Windows.Forms.Keys.Right && pivotGridControl.Cells.FocusedCell.X == pivotGridControl.Cells.ColumnCount - 1)         e.Handled = true; }

      I have attached a small sample to illustrate this approach.

        Show previous comments (7)
        DevExpress Support Team 9 years ago

          Hi Seonga,

          We haven't yet found a suitable solution to resolve this issue. We will keep you informed of our progress. Your patience is appreciated.

            Hello Alex,

            Thanks for your update!

            DevExpress Support Team 9 years ago

              You are always welcome!

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.