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.

650 questions
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
  • 543
  • 3
  • 11
  • 32
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,585
  • 5
  • 33
  • 58
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
  • 314
  • 9
  • 24
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,036
  • 14
  • 73
  • 127
0
votes
2 answers

ExtJS - Preventing click/enter editing in grid with roweditor

I want to have a dedicated edit toolbar button on my grid and use double-click/Enter key for other purpose. Can I somehow change the click/enter-to-edit behavior of the row-editor plugin without hacking away at its' internals? From a glance on the…
Madd0g
  • 3,585
  • 5
  • 33
  • 58
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_says_get_back_Monica
  • 8,874
  • 33
  • 135
  • 238
-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,234
  • 18
  • 81
  • 121
-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
  • 7,967
  • 28
  • 48
-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
  • 31
  • 4
-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
  • 13
  • 27
-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
  • 13
  • 27
-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
  • 622
  • 2
  • 13
  • 31
-1
votes
1 answer

How to dehighlight the row when checkbox is checked in extjs grid

I am using extjs4.1 grid in aspnet mvc3 application. I have used checkboxrowselection model. the issue is : once the checkbox is checked,the row should not get highlighted in the extjs grid. How can i acheive this. please help
AMDI
  • 599
  • 2
  • 8
  • 33
1 2 3
43
44