Results 1 to 3 of 3

Thread: Editor Grid Plugin

  1. #1
    Sencha User
    Join Date
    Jan 2009
    Posts
    31
    Vote Rating
    0
      0  

    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
    Vijay

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Why not just add the event listener "beforeedit" and see if it's the first row?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jan 2009
    Posts
    31
    Vote Rating
    0
      0  

    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 .
    Vijay

Similar Threads

  1. 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
  2. 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
  3. 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

Posting Permissions

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