4
votes
2answers
8k views

Using more than one controller with ExtJS 4 MVC

Let's say I have a main controller, then my application has a controller for each "module". This main controller contains the viewport, then a header (with a menu) + a "centered" container, which is ...
7
votes
4answers
4k views

Attach ExtJS MVC controllers to DOM elements, not components

Is there a way to use the Ext.app.Controller control() method, but pass in a DOM query? I have a page that contains standard links and would like to add a click handler to them even though they were ...
4
votes
1answer
896 views

Override Ext.data.Connection - Best Practice

I need to override Ext.data.Connection to show a Login Form. I do this at the moment in Ext.application.launch which works as expected. Is it possible to swap this piece of code somewhere different ...
-1
votes
2answers
967 views

load new view after the loginin extjs 4 mvc

I have a login view created in extjs 4 and the data is fetched from mysql. What my issue is that i am not able to redirect my page after the sucessfull login. My code to redirect is. onLoginSuccess ...
4
votes
2answers
3k views

Symfony2 MVC and ExtJS4 MVC

Could someone please explain to me the correct file structure of a Symfony2 MVC and ExtJS4 MVC project? (When used together!)
4
votes
2answers
2k views

ExtJS 4.1 MVC: How to apply LoadMask to viewport while loading?

How to apply a LoadMask for a standard ExtJS MVC application's viewport while it is loading the required files? An example of such MVC application is the following snippet for app.js: ...
1
vote
1answer
882 views

Ext JS 4 - How to control rowEditor inside controller

I want to learn how can I controller rowEditor plugin inside controller.. Here's rowEditor definition: Ext.define(appName + '.view.department.DepartmentGrid', { initComponent: function() { ...
1
vote
2answers
3k views

EXTJS4--Why don't my associated stores load child data?

So I have a parent and child store, illustrated here: Parent Model Ext.define('APP.model.Client', { extend: 'Ext.data.Model', requires:[ 'APP.model.Website', 'Ext.data.association.HasMany', ...
0
votes
1answer
1k views

Firing application wide events fron button handlers

I have this gridPanel: Ext.define('BM.view.test.MacroList', { extend: 'BM.view.GridPanel', alias:'widget.macro-test-list', store: 'Tests', initComponent: function() { this.columns = [ ...
0
votes
1answer
2k views

Getting a refernce to an auto-instantiated Sencha Touch 2 view

I'd like to get a reference to my view from my Sencha Touch 2 controller, which looks like this (CoffeeScript): Ext.define 'MyApp.view.Books', extend: 'Ext.Panel' id: 'books' config: ...
10
votes
1answer
451 views

Always show the tip text of Slider in Extjs

In Extjs 4.1.1a, How to keep the tip text of the slider always visible? Currently, the tip text is being visible whenever the user drags the bar of the slider. I searched on docs but couldn't find ...
5
votes
2answers
1k views

Explain MVC architecture of extjs

I created sudoku using sencha extjs 4.1.1a. Now I am trying to convert that code into MVC architecture of extjs. I have gone through the docs which are ok but not so detailed for beginners. Now I am ...
2
votes
1answer
106 views

Add Flex value dynamically to controller in extjs

I am giving some items (containers), in "View", a layout of hbox. Now I want to give flex value to each item through the "Controller". How can I do this? I have gone through the docs but can't find ...
2
votes
4answers
795 views

TreeGrid: setting data root has no effect

I'm trying to setup a TreeGrid, my data object looks like this: { "code": "success", "data": { "text": ".", "children": [ { "clientname": "Market", ...
2
votes
1answer
820 views

Sencha Touch store 'aftersync'-like event

I'm using a ListView with a store/ajax-proxy/json-reader/json-writer. I'd like to set the ListView to loading before I call store.sync(), and remove the loading once the response got back from the ...

1 2 3
15 30 50 per page