Questions tagged [extjs-mvc]

Attempt to implement MVC-like pattern in ExtJS framework, using the terms from the pattern and some of the concepts.

The following is how ExtJS defines "MVC" in their codebase:

Model is a collection of fields and their data (e.g. a User model with username and password fields). Models know how to persist themselves through the data package, and can be linked to other models through associations. Models work a lot like the Ext JS 3 Record class, and are normally used with Stores to present data into grids and other components

View is any type of component - grids, trees and panels are all views.

Controllers are special places to put all of the code that makes your app work - whether that's rendering views, instantiating Models, or any other app logic.

651 questions
0
votes
1 answer

subarray models mapping issues with gridpanel extjs 4

stackoverflow team member I am having problem with displaying the json subarray data to my gridpanel my json data is below { "total": 11, "success": true, "employeetaskdetdata": [{ "subject": "Work in progress", …
Yogendra Singh
  • 553
  • 4
  • 12
  • 33
0
votes
1 answer

Loading multiple sets of data into one table / Creating Sub-fields in the data model

I am trying to learn Ext JS as I have been set a project which requires me to know some basic parts of it, basically I am stuck on the following: I need to load two JSON files into the same table based on a common field: FILE 1 { "data" : [{ …
Andrew Willis
  • 2,289
  • 3
  • 26
  • 53
0
votes
1 answer

how to display multiselect values from the combobox to the gridpanel extjs 4

forum member I am having one problem is displaying the combobox name selected values to my gridpanel column. I am having the gridPanel with one column containing the resources combobox and the user can select multiple values from the resource. below…
Yogendra Singh
  • 553
  • 4
  • 12
  • 33
0
votes
1 answer

ExtJS4 - choose card in card layout based on data in model

Is there a way to automatically select a card in card layout when the record is loaded? I want to have multiple mutually exclusive field-groups in a form. I want to switch between them automatically based on a value in the model. Is it possible with…
Madd0g
  • 3,841
  • 5
  • 37
  • 59
0
votes
1 answer

Validator function IE6 in extjs combobox not working

I am using this code to validate the Combobox in IE6, this is not working. In Firefox and Chrome its working. PLease suggest me some way to validate the Combobox in IE6. Code: xtype: 'combo', fieldLabel: 'Label', anchor:…
user27
  • 274
  • 9
  • 26
0
votes
1 answer

Ext JS Feed Viewer-like feature

I want to build an interface using Ext JS MVC, and I'm not quite sure what elements to use. What I want to achieve is similar to Ext JS's Feed Viewer. Disregard the frame on the left, I don't want that, but what I want, is something like that grid…
Eduard Luca
  • 6,514
  • 16
  • 85
  • 137
0
votes
1 answer

ExtJS MVC structure

I'm not sure it's an acceptabale question for Stackoverflow but I have difficult time to understand the MVC structure of ExtJS so I decided to post a question, mainly because this part from the official ExtJS 4.0 tutorial "Every application works…
Leron
  • 9,546
  • 35
  • 156
  • 257
-1
votes
2 answers

Google Chrome - "aw snap" error message using Ext JS 4.0

I have the following code in my controller. This works fine in Internet Explorer 9 and Firefox. However, I get "aw snap!. Something went wrong ..." error message in Chrome. init: function () { this.control({ 'jobslist': { …
frosty
  • 5,330
  • 18
  • 85
  • 122
-1
votes
2 answers

Migrating ExtJS3 to ExtJS4

I am newbie to ExtJS. As client requirement ExtJS3 code is there we need to convert it into ExtJS4.I am trying a lot but it is not displaying result. Html code: Search Window With Ext JS 4
ramu
  • 11
  • 1
  • 2
-1
votes
1 answer

Opening a Browser window popup in ExtJS 5 MVC application

I am working on an application in which we open all the views in a tabPanel, it was pretty simple to do that. Now we got a new requirement where we have to open the view in Browser popup window so that it can be dragged to a secondary monitor.…
Vikram
  • 8,235
  • 33
  • 47
-1
votes
1 answer

In extjs in grid cell i have to display list of values from an string array which is part of a record

In extjs in gird cell i have to display data like this: FirstName LastName Department UserId Jhon Peter Finance 8345 Facilities Social I am going to get data like…
somu
  • 51
  • 1
  • 6
-1
votes
1 answer

How to make a chart dynamic using click event

I have a barChart whose value i am sending to the Servlet,and on the basis of each value i have to populate some data on the radarChart.The data is going to the Servlet and the radarChart is also coming.But the problem is that the radar is coming…
user2262079
-1
votes
2 answers

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 : function(response, opts) …
anupkumar
  • 357
  • 4
  • 14
  • 28
-1
votes
3 answers

extjs 4 rest proxy and zend 2 restful controller

I want to post data to Zend 2 restful controller from EXTJS 4 rest proxy. But when I inspect with the firebug I found that there is the post data ,but I am not able to fetch that data .How to get that post data to use it in my methods. Where I am…
anupkumar
  • 357
  • 4
  • 14
  • 28
-1
votes
1 answer

Extjs 4 - Application context help - find focused component

I am thinking about implementing context help in my application and i wonder if it is possible to implement it the way i have in mind: Register global shortcut to Ext.Body() ex. ctrl+h Shortcut handler will find the focused component and call its…
patryks
  • 650
  • 2
  • 15
  • 32
1 2 3
43
44