Results 1 to 5 of 5

Thread: can i use the Ext.grid.GridEditor in ext 4 ??

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default Unanswered: can i use the Ext.grid.GridEditor in ext 4 ??

    if i want to use the Ext.grid.GridEditor ,any class can be used?

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Answers
    124
    Vote Rating
    91
      0  

    Default Use RowEditing plugin

    Hi,
    you can use following code in your grid

    Code:
     selType:'rowmodel',
     plugins:[Ext.create('Ext.grid.plugin.RowEditing',{
                  clicksToEdit:1
             })
     ]
    For more Information , check this link :- http://docs.sencha.com/ext-js/4-0/#!...gin.RowEditing
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    when i use the
    PropertyGrid
    ,i want to show just some records of store,
    how can i do ,thanks ..

  4. #4
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Answers
    124
    Vote Rating
    91
      0  

    Default

    Hi,

    I am not getting your two boxes with text 'propertyGrid'....

    By the way , in case you want to filter your records, you can use filter() method of grid's store.
    But beware, if you have any other component using same store, filtering will also applied to its records.

    check this http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.Store-method-filter



    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default

    it is Ext.grid.PropertyGrid ,that ,
    i want to show like this
    ora.jpg

    but i don't want to show the record of id ,how can i filter ,

    [IMG]file:///C:\Documents and Settings\shen\Application Data\Tencent\Users\1817334597\QQ\WinTemp\RichOle\G14%1~Q{07AJLT(7183XSLL.jpg[/IMG]
    [IMG]file:///C:\Documents and Settings\shen\Application Data\Tencent\Users\1817334597\QQ\WinTemp\RichOle\G14%1~Q{07AJLT(7183XSLL.jpg[/IMG]

Posting Permissions

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