Results 1 to 5 of 5

Thread: can I add columns in property grid

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Answers
    2
    Vote Rating
    0
      0  

    Default Unanswered: can I add columns in property grid

    Hi, I am not very much sure about how exactly property grid works. I am thinking it is similar way of key and value,
    I have requirement where I need grid similar to property-grid but I want to add two columns like date and time for e.g. Can we do this in property-grid?

  2. #2
    Sencha User
    Join Date
    May 2011
    Location
    Argentina
    Posts
    55
    Answers
    2
    Vote Rating
    3
      0  

    Default

    propertygrid Extends a gridpanel, so you shoud be able to do with it the same things a gridpanel can do (adding new columns).

    so you should try it out and post some code if you have problems.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    208
    Answers
    2
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by ferengidedalo View Post
    propertygrid Extends a gridpanel, so you shoud be able to do with it the same things a gridpanel can do (adding new columns).

    so you should try it out and post some code if you have problems.
    Ok this means I can save the record when I update there. can I clear saved information and clear it when I load the same grid will be launched?

  4. #4
    Sencha User
    Join Date
    May 2011
    Location
    Argentina
    Posts
    55
    Answers
    2
    Vote Rating
    3
      0  

    Default

    I dont quite understand what is your doubt... the property grid has a store asociated with it, and you have setSource method to asing an object to edit its properties...

    please try to be more clear about the doubt. thanks!

  5. #5
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Answers
    583
    Vote Rating
    390
      0  

    Default

    My experience of trying to customize a property grid is that it is non-trivial. It is not as simple as just treating it like any other grid. Feel free to try but I think you may find it easier to extend grid directly and add suitable editors.

Posting Permissions

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