1. #1
    Sencha User
    Join Date
    Jun 2014
    Posts
    2
    Vote Rating
    0
    jacksonclr is on a distinguished road

      0  

    Default Reusable Grid

    Reusable Grid


    Hi everyone

    I need some help to develop a reusable grid, or abstract grid, or a general grid (I don't know how to call this) to use it in any application. I just want to put a store, and set the columns. The developer doesn't need to know what is implemented, he just need to pass the parameters when he creates the instance of grid. Please anyone has some example or tip, I have no idea.

    Thanks

    Ps. Please sorry for my poor english, I'm brazilian and I'm studing english, but I'm a begginer yet rs....

  2. #2
    Sencha Premium Member Dejan Beciric's Avatar
    Join Date
    Feb 2014
    Location
    Belgrade, Serbia
    Posts
    42
    Vote Rating
    6
    Dejan Beciric is on a distinguished road

      0  

    Default


    Hi, on extj doc examples site, you have some good examples of how to use grid component (Ext.grid.panel). See, for example http://docs.sencha.com/extjs/4.2.2/#...ne/#array-grid

  3. #3
    Sencha User
    Join Date
    Jun 2014
    Posts
    2
    Vote Rating
    0
    jacksonclr is on a distinguished road

      0  

    Default


    Thanks for you answer Dejan Beciric

    I have already seen some examples, but I still can't find a solution for this case in especific

    I would like to know if there is any way to define attributes like width, heigth, padding, and then the developer just put the parameters title, columns and store when instantiate the grid.

Thread Participants: 1