Results 1 to 3 of 3

Thread: Editor Grid Plugin

  1. #1

    Default Editor Grid Plugin

    I am trying to develop a Grid plugin which will allow editing only first row . I tried a different approach by adding the widgets to the header but it does not work as i intended. (See the screen shot below) .

    Could anyone provide me a way to implement this ?

    untitled.JPG

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    Why not just add the event listener "beforeedit" and see if it's the first row?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default

    I think i did not make it clear , the first row will act as editor for rest of the rows . So if you click on the second/third row the data from that will load in the first one and the user is allowed to edit it (If you select multiple rows common data is loaded in to the first row).

    I tried your method as well but i had to proxy many events (like sorting , the first one should be first always) so thought i will develop a plugin to attach the editor just below the header to handle and avoid handling the grid events . Not sure if its a good way but i need some suggestions how to do it .

Similar Threads

  1. Regarding html editor counter plugin usage
    By aomadevelopers in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 1 Dec 2009, 3:37 PM
  2. Regarding html editor counter plugin usage
    By aomadevelopers in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 30 Nov 2009, 11:49 PM
  3. Row Editor with CheckColumn as plugin
    By dan007 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 29 Nov 2009, 2:25 PM
  4. Row Editor with CheckColumn as plugin
    By dan007 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 28 Nov 2009, 11:37 AM
  5. Replies: 2
    Last Post: 10 Sep 2008, 4:37 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
  •