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

Build Fail when i add Ext js lib to my web application

I have created a Ext js 4.2.2 sample application using sencha cmd and I want to run using eclispe.When I copy the generated app in webcontent folder in my webapp build is getting failed and throwing eclispe is running out of memory . Previously I…
Surya Prakash Tumma
  • 2,153
  • 4
  • 27
  • 47
0
votes
1 answer

Build Failure While trying to build App using Sencha Cmd

I am new to sencha cmd as per the documentation I am able to generate the application structure but when i start to build the app using sencha app build, Iam facing the following excpetion. [ERR] [ERR] BUILD FAILED [ERR]…
Surya Prakash Tumma
  • 2,153
  • 4
  • 27
  • 47
0
votes
1 answer

Displaying spacial characters in combobox on select extjs4

I want to display special spanish characters like á,Á,ã,Ã in combobox.SO, I wrote the code for it in locale file, Inglés and Español,etc. When I open the dropdown, it displays the word correctly but when I select it, it displays the code in the box.…
user2316489
  • 159
  • 1
  • 5
  • 14
0
votes
2 answers

hide combo box value when already selected extjs

I have 2 combo box inside grid. The second combo box value will be change base on first combo box. For example the combo has 3 item : America, Europe, Asia. If in the first combo box Europe is selected, then in the second combo box, Europe is not…
Then Theresia
  • 167
  • 1
  • 11
0
votes
1 answer

Ext Js panel empty time field

I am new to ext js I am sorry if I couldn't explain my problem properly My problem is the time field in grid is displays as blank It displays the value if change both the type to string from date in model and disable rendering function formatTime…
lajeesh k
  • 345
  • 3
  • 12
0
votes
0 answers

extjs multiple instances of an applicaton

Context I'm currently making an application to manage users. I have a php website and im trying to implement extjs into it. Since I want my application to start when certain buttons on my php page are clicked, I'm using the "request.prependBaseUrl…
Nick
  • 429
  • 2
  • 12
0
votes
1 answer

Difference between Ext.create and xtype config

I want to know the difference between the following two code as they appear to work differently in my app. Ext.define('MyApp.view.MyView', { extend: 'Ext.panel.Panel', alias: 'widget.myViewContainer', ..... }); Now, Case 1…
0
votes
1 answer

EXTJS 4.2 - combobox resets when match is not found

The typeahead works fine if the words match, however if an incorrect character is entered, thus no match then all the text entered vanishes. For example, Audi - type ahead works and finds Audi. Au - type ahead works and finds Audi. Aux - …
user2574678
  • 649
  • 12
  • 20
0
votes
1 answer

ExtJS How to force render on grid row after combo editor select

I have in my ExtJS 4.2.1 Application a grid with the following editable column: text: 'Location', dataIndex: 'LocationId', width: 140, renderer: function(value) { var record = me.store.findRecord('LocationId', value); …
VAAA
  • 14,531
  • 28
  • 130
  • 253
0
votes
1 answer

Extjs4 Sending accented characters to the server

I am working with Extjs4. I am trying to send accented characters to server. I was trying to send ó. And what I was receiving at the server side was ó. I am sending it using Store proxy. In store proxy, I have added headers: { …
user2316489
  • 159
  • 1
  • 5
  • 14
0
votes
1 answer

The whole app shifts towards left when Internet Explorer is not expanded to its whole width and length

I have reduced the length and width of IE browser window. The app loads properly for the first time. Now I have a form which opens on the click of a button on my Homepage. In the form, if I leave a field invalid and I click on save, the code is…
user2316489
  • 159
  • 1
  • 5
  • 14
0
votes
1 answer

ExtJs 4.0 data binding of records with custom fields

I am currently working on an application which is made with ExtJs 3.3.1 as front-end. The back-end is a .NET 4 platform and MVC is used server side. This means data is returned by controller actions once requested. My employer currently requests a…
Paul1977
  • 11
  • 1
  • 6
0
votes
1 answer

ExtJS 4.2 attach event in view to other views

I have a view with the following in my initComponent: initComponent: function() { var me = this; Ext.applyIf(me, { buttons: [ { text: 'Guardar', …
VAAA
  • 14,531
  • 28
  • 130
  • 253
0
votes
1 answer

Uncaught TypeError: Object [object Object] has no method 'onAdded'

I am using ExtJS4 with Java servlets. I am following the MVC architecture for ExtJS. I am trying a simple example of displaying a border layout but it doesnt work and I get the following error in ext-all.js in the javascript console: Uncaught…
user777777
  • 228
  • 4
  • 25
0
votes
2 answers

Remove expand and collapse icon from group header if group is empty extjs4 grid grouping

I want to remove the expand(+) and collapse (-) icon if the group does not have any child items.Can someone help me achieve this? Will I have to override extjs grouping file or I can work it out in CSS and explicitly assign class to row. Thank you…
user2316489
  • 159
  • 1
  • 5
  • 14