Questions tagged [extjs4.1]

The April 2012 release of the popular JavaScript framework Ext JS. Warning: please use this tag along with the generic extjs tag. Otherwise your question will not be seen by the many thousands following extjs.

The April 2012 release of the popular JavaScript framework Ext JS.

Please also tag your question with the base tag , since many Ext JS experts only follow the base tag.

See for more information.

Useful links

1793 questions
0
votes
1 answer

Ext.draw.Text dynamically change text

How to change text dynamically on Ext.draw.Text element? this.textLabel = Ext.create "Ext.draw.Text" type : 'text', text : me.curValue, font : '24px Arial', width : 100, height: 30, x : 100 …
Ilya.R
  • 41
  • 7
0
votes
3 answers

How to refer the store in Controller --> Code.js file?

I am storing the JSON format in to Code.js of store folder. 'store' folder --> Code.js Ext.define('LoginPage.store.Code', { extend: 'Ext.data.Store', model: 'LoginPage.model.Code', autoLoad: true, proxy: { type:…
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
0
votes
1 answer

check the json data for comparing in extjs

I created a simple login page using extjs MVC to understand MVC architecture of extjs. As you can see below, I am trying to get the json data into the store and then I will check each username and password in that data with the entered login…
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
0
votes
1 answer

connect json with extjs

In my sample login form, I am trying to connect to json and get the result ie., true, if username and password matches, else false. json (exists in my project folder) { "form": { "login": [ { "username": "venkat", "password":…
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
0
votes
1 answer

How to submit form in ExtJS?

I have this code but for whatever reason it does not submit the form. The submit() function is not working. Why? function kullaniciPenceresi() { Ext.create('Ext.window.Window', { id: 'kullaniciEditWin', iconCls: 'icon-user--pencil', …
ilhan
  • 8,700
  • 35
  • 117
  • 201
0
votes
1 answer

ExtJS 4.1.1a: Nested accordion layout in border layout cannot have title without width

I've created a viewport with border layout and i was trying to have a 'Panels' accordion side bar in the west region, as below Ext.create('Ext.container.Viewport', { layout : 'border', items : [{ xtype : 'panel', region : 'west', …
PSWai
  • 1,198
  • 13
  • 32
0
votes
1 answer

Ext.application Config models, stores, controllers array

I wanted to see how you all handle this. In our Ext.application file we have our, models, stores and controllers config arrays defined with all the models, stores in controllers in our application. Only thing is we have so many that its really…
b3labs
  • 960
  • 1
  • 14
  • 29
0
votes
1 answer

EXTJS Ext.Ajax.request() issues

So I think I maybe missing something with Ext.Ajax.request(); So I have code that does the following: Ext.Ajax.request({ url : 'myurl', success : function(){ alert('success 1'); }, callback : function(){ alert('callback'); …
b3labs
  • 960
  • 1
  • 14
  • 29
0
votes
1 answer

change the background color of panels in extjs

In my project, I am trying to change the background color of all the panels inside a container. The code which I am trying is as follows: container --> panel (don't change) --> panel (Change) //Generated dynamically using for loop. listeners: { …
Mr_Green
  • 40,727
  • 45
  • 159
  • 271
0
votes
1 answer

Why this tpl doesn't work?

I am trying to use template in a panel. The template trigger is come from another grid item selection. But this code doesn't work.... What is wrong with my code? Just simple copy/paste my code to run... Anyone, would you please fix this for me? HTML…
kenzominang
  • 67
  • 2
  • 9
0
votes
2 answers

How to get values from grid to c# controller

I am trying to get values from a grid in my c# controller. This is my store and grid Ext.create('Ext.data.Store', { storeId:'store', fields:['name', 'email', 'phone'], proxy: { type: 'memory', reader: { type:…
EagleFox
  • 1,367
  • 10
  • 34
  • 58
0
votes
3 answers

highlight a row in grid using ext js 4.1

I'm trying to highlight a row and I've googled for a while however all solutions use functions that don't even exist such as getRow() or highlight(). Does anyone have a solution for it? I've tried the above and the getView().select(record) Neither…
Alon_T
  • 1,430
  • 4
  • 26
  • 47
0
votes
1 answer

set field dynamically in the store in extjs or getCount() gives 0 in model

Hope you are doing good. I have 2 different class University and Students Relation : University hasMany Students University fields: uni_id, uni_name,total_students Students fields: stud_id,stud_name I have following json file: { "data": [ …
Rishabh Shah
  • 541
  • 7
  • 28
0
votes
1 answer

I need example about Ext.draw.engine.ImageExporter

I want to export Ext Chart using type SVG. But i dont understand it. Could you give me a example about Ext.draw.engine.ImageExporter (Ext 4.1) Thank for helping Nguyen
0
votes
1 answer

Extjs File Upload with C#

I know how the xtype: filefield works and I also realized that file upload does not use the regular ajax method to read and write data to database... I can set up filefield normally and when I click the browse button I can select the necessary file.…
EagleFox
  • 1,367
  • 10
  • 34
  • 58
1 2 3
99
100