Moving focus on a edited cell

Posted by: manuelmedinaescareno on 3 July 2019, 2:32 pm EST

  • Posted 3 July 2019, 2:32 pm EST

    can someone please share the equivalent of this code of spread but for grapecity for wpf

    Dim im As FarPoint.Win.Spread.InputMap
    Dim im2 As FarPoint.Win.Spread.InputMap
    im = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
    im2 = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnWrap)
    im2.Put(New FarPoint.Win.Spread.Keystroke(Keys.Enter, Keys.None), FarPoint.Win.Spread.SpreadActions.MoveToNextColumnWrap)

    Thanks.
  • Marked as Answer

    Replied 9 July 2019, 7:41 pm EST

    Hello,

    You can use the "KepMap" property of the SheetView in WPF. Please refer to the following documentation link:
    https://help.grapecity.com/spread/SpreadWPF/webframe.html#GrapeCity.WPF.SpreadSheet.UI~GrapeCity.Windows.SpreadSheet.UI.SheetView~KeyMap.html
    https://help.grapecity.com/spread/SpreadWPF/webframe.html#InputMF.html

    Hope it helps.

    Thanks.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels