Hybrid View

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    chompy18 is on a distinguished road

      0  

    Default GXT3 Beta5 and uiBinder

    GXT3 Beta5 and uiBinder


    Hi,

    I am trying to create a Grid using uiBinder and GXT 3 beta 5.
    Does anyone have a working example of this?

    Chompy18

  2. #2
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Cool


    The Ext GWT 3 grid doesn't have any particular UiBinder-related features, so you can include it in your UiBinder template like any other widget.

    Notably, because Grid needs constructor arguments, you will need to construct the Grid in code. Take a look at http://code.google.com/webtoolkit/do...Using_a_widget. If you want the grid to be constructed when your UiBinder is constructed (that is, you're not reusing an older grid instance), you will probably want to write a UiFactory method. Follow the examples in that link; instead of creating a new CricketScores, you'll be creating a Grid.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    chompy18 is on a distinguished road

      0  

    Default


    Hey Wesley,

    Thanks for your reply.
    UiFactory method sounds like the right way to go.
    I'll try that, thanks for the reference link.

    Sefi

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    We added a @UiConstructor annotation to Grid to allow it to be created with UiBinder and also added an example. You can see it here:

    http://staging.sencha.com:8080/examp...nguibindergrid

    You can view the source XML to see how the grid is created. Changes will go out in next release.

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    2
    Vote Rating
    0
    ghal_maraz is on a distinguished road

      0  

    Default


    Will it be possible to use the uiBinding with GXT3 and the GWT Designer?

    In the beta it is not possible.

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