Results 1 to 3 of 3

Thread: Viewport and other views

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Location
    Mauritius
    Posts
    43
    Vote Rating
    3
      0  

    Default Viewport and other views

    Hello
    I would like to know if Im allowed to create a viewport, (apart from the one generated by SA) and, separately I have other views, for example, toolbars with buttons, formpanels with buttons, a gridpanel with a toolbar with buttons inside a tabpanel, all these in a formpanel...and then! I link them to my viewport? I make them store and retrieve data from the server separately first, and then put everything together?

    For example, I create one toolbar separately with my buttons, then each button should load a form panel inside the center region of the viewport.

    For this I make use of a Controller that knows which button I want to do something with based on its id that I declare in my View (toolbar buttons)? My form panels have fields and so on, this is bound to a Store? that has an associated Model? and a Proxy so that I may communicate with my backend and perform CRUD operations using the api config? (am I right?)

  2. #2
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
      1  

    Default

    Yeah this is a common use case. You're on the right track. See https://github.com/SenchaArchitect/ExtFeedViewer for inspiration.
    Phil Strong
    @philstrong

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    Mauritius
    Posts
    43
    Vote Rating
    3
      1  

    Default

    Thank you so much <3 <3 <3

Posting Permissions

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