1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    11
    Answers
    1
    Vote Rating
    0
    army81 is on a distinguished road

      0  

    Default Unanswered: Dynamic grid columns

    Unanswered: Dynamic grid columns


    Hi,
    I should build a grid with the number and type of dynamic columns. With this version of GXT you must declare the ValueProvider every time, while the previous version was possible to establish ColumnConfig (id, dimension, header) and store in the BeanModel, but now ColumnConfig (new ValueProvider), but I can not know a priori which bean will be part of the grid. There is a possibility of being able to carry out this version

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Answers
    107
    Vote Rating
    79
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    In short, yes - BaseModelData and BeanModel may be gone, but the data model that GXT 3 uses is more general, and can be made to support this basic idea. That said, if you are working with a bean-like object, the work of adding a new ValueProvider method to the PropertyAccess is going to be the cleanest way of writing this - it is strongly typed, giving you compile errors if something no longer makes sense, and sometimes letting the compiler to a better job when working out how to optimize your application.

    If you are using a dynamic model, check out these other forum posts that have discussed this in the past (found searching for 'dynamic grid columns' on the community forums):
    http://www.sencha.com/forum/showthread.php?228469
    http://www.sencha.com/forum/showthread.php?244047
    http://www.sencha.com/forum/showthread.php?183948

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar