Results 1 to 4 of 4

Thread: ccjGrid - Leave Edit mode when tabbing to next column.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    West Yorkshire - UK
    Posts
    860

    Default ccjGrid - Leave Edit mode when tabbing to next column.

    I have a cJGrid. By default we start off in non-edit mode. This means all hotkeys work as expected.

    However, if I enter a value (moving into edit mode), and then move to a new grid cell, the grid stays in edit mode.
    I want to leave edit mode as soon as I exit any cell.

    How can I do this?
    Sean Bamforth. - D̤͍͍̭̱̄ͦ̆̏̇ͯ͑̄å̩̻͈͒͌t͇̻͙̞̤̱̏̎̐a͈͎͈ͬ̓̽ͮ̓̔̎ͅf̙͓̃̆̈́̔ ̳̣̝͔̲ḷ̩̺̗͎ͤ͂̇̚e̻̙̼̞̥͖̬̹ͮ͌ͫ̆ͬͅx͉̖̣̩̮̖̎͌ ͍̃̃̉̆̋̋ͥP̠̝̱̿͛ͬͩ̍̅̔ͣr̻̪̤͚̘̰̤͑̿̈̄̍ͯo̫͈̪̭̥͙͛̃̔̀g̔͗ͦ̅ ̝̯̘̣̘͗͆̄̋r̲͓̭͓̪̋ͩͤ͛̑́̎͋a͇̰̼͚̜̅́͌͗̆̅̏ͪͦm̯̤̱̥͇͋͒̈̅̓ͮ ̱̣̞m̖̼̰̟̗̮̬͓͗͋̏̓ͫ̑ͪͅḙ̄ͯͧ̋̋̑̊͗ͅr͕͇ͪ͒̆͗͆̓̀

  2. #2
    Join Date
    Feb 2009
    Location
    Brazil
    Posts
    2,415

    Default Re: ccjGrid - Leave Edit mode when tabbing to next column.

    I never had to..

    But I would try something like this in a subclass of cCjGridColumn

    Code:
    Procedure OnExit 
        Boolean bEdit
        Delegate Get IsEditMode to bEdit 
        If (bEdit) Delegate Send EndEdit 
    End_Procedure
    PS. not tested
    Samuel Pizarro

  3. #3
    Join Date
    Feb 2009
    Location
    West Yorkshire - UK
    Posts
    860

    Default Re: ccjGrid - Leave Edit mode when tabbing to next column.

    Nope. That's not working.
    Sean Bamforth. - D̤͍͍̭̱̄ͦ̆̏̇ͯ͑̄å̩̻͈͒͌t͇̻͙̞̤̱̏̎̐a͈͎͈ͬ̓̽ͮ̓̔̎ͅf̙͓̃̆̈́̔ ̳̣̝͔̲ḷ̩̺̗͎ͤ͂̇̚e̻̙̼̞̥͖̬̹ͮ͌ͫ̆ͬͅx͉̖̣̩̮̖̎͌ ͍̃̃̉̆̋̋ͥP̠̝̱̿͛ͬͩ̍̅̔ͣr̻̪̤͚̘̰̤͑̿̈̄̍ͯo̫͈̪̭̥͙͛̃̔̀g̔͗ͦ̅ ̝̯̘̣̘͗͆̄̋r̲͓̭͓̪̋ͩͤ͛̑́̎͋a͇̰̼͚̜̅́͌͗̆̅̏ͪͦm̯̤̱̥͇͋͒̈̅̓ͮ ̱̣̞m̖̼̰̟̗̮̬͓͗͋̏̓ͫ̑ͪͅḙ̄ͯͧ̋̋̑̊͗ͅr͕͇ͪ͒̆͗͆̓̀

  4. #4
    Join Date
    Feb 2009
    Location
    Hengelo, Netherlands
    Posts
    9,010

    Default Re: ccjGrid - Leave Edit mode when tabbing to next column.

    Sean,

    I scanned the CodeJock documentation and see nothing that can control this. It is either opening the grid for editing on single, double click or key navigation.

    You can post a question in the CodeJock product forums.
    Regards,
    Data Access Worldwide
    Vincent Oorsprong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •