Results 1 to 3 of 3

Thread: How to edit multiple cells at single time using keyboard after MulticellSelection

  1. #1
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130
    Answers
    7

    Default Answered: How to edit multiple cells at single time using keyboard after MulticellSelection

    Hi

    Plateform 4.2.1

    Description:
    I have implemented the multiple cell selection using pressing the mouse button and select multiple cells and leave the button.

    Requirement:
    Now just after leaving the mouse button I want to type some values from keyboard. Here the requirement is that values entered using keyboard should fill the selected cell with same test as shown in snapshot given below.

    Fiddle: https://fiddle.sencha.com/#fiddle/riq

    Screenshot for requirements:
    Type.png


    I tried to modify the logic in CopyPasteGridPanel.js but no luck. Please guide me here.
    ---A ship in the harbor is safe, but that is not what the ships are made for...

  2. Hi Bryan,
    Thanks for the suggestion.

    I have achieved this to some extent using MultiCellSelectionModel and handled it with view cellkeydown


    https://fiddle.sencha.com/#fiddle/sh4

  3. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    To my knowledge there isn't a direct function to do what you're asking.

    But could you determine (beforeedit) which records you're want to change, store them and when the edit function is called perform a record update?

    Hope this helps!
    Bryan

  4. #3
    Sencha User SurenderBhyan1's Avatar
    Join Date
    Nov 2013
    Location
    INDIA
    Posts
    130
    Answers
    7

    Default

    Hi Bryan,
    Thanks for the suggestion.

    I have achieved this to some extent using MultiCellSelectionModel and handled it with view cellkeydown


    https://fiddle.sencha.com/#fiddle/sh4
    ---A ship in the harbor is safe, but that is not what the ships are made for...

Similar Threads

  1. Replies: 2
    Last Post: 5 Oct 2012, 8:54 PM
  2. Replies: 3
    Last Post: 30 May 2012, 11:02 AM
  3. Replies: 1
    Last Post: 11 May 2012, 3:04 PM
  4. Single Cell Selection, Copy-Paste in multiple cells in same gird
    By snehap.1284 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Apr 2010, 4:59 AM

Posting Permissions

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