Questions tagged [extjs4.2]

Warning: only use this tag along with the generic extjs tag. Otherwise your question will not be seen by the many thousands following extjs

See for more information.

1554 questions
0
votes
1 answer

Form not submit

I have a edit user form. The form is loaded from a Json store with this code: var store = Ext.create('cp.store.form.Paciente',{}); store.load({params:{idUsuario: idPaciente}}); var form = Ext.create('cp.view.form.EditPaciente',{ …
ramiromd
  • 2,019
  • 8
  • 33
  • 62
0
votes
2 answers

Extjs 4.2.1 on moveColumn save it's position in grid panel and database

I want to move columns in Grid Panel and save its position in database so that next time when i login I will get same column reordering in Grid Panel. I am using following function to move column in gridpanel. columnmove: function (container,…
0
votes
3 answers

How to remove timestamp from date picker in extjs 4.2 grid

I have a datefield xtype mentioned in my grid's date column editor, once I select any date from the picker, as long as I don't click outside or press Enter, the date is displayed in the default format i.e. 'd/m/Y' (meaning dd/mm/YYYY). But as soon…
Arnav Sengupta
  • 15
  • 5
  • 10
0
votes
1 answer

Multisort/Sort grid with AjaxStore

i need to implement the multisort in grid that populate from a Ajax Store, but i have also a problem with the simple sorting of column. This is my store: dsUser = Ext.create('Ext.data.Store', { model: 'user', pageSize: defPagSize, …
AfanfeFana
  • 159
  • 4
  • 15
0
votes
2 answers

How to get selected input Label value from radio group in extjs

Can anybody tell me how to get the selected input Label value from a radio group in extjs? I have placed radio group in a form. I need to get the selected input Label value in controller in onChangemethod onChangeAspectsradio: function (radioField,…
mohan
  • 13,035
  • 29
  • 108
  • 178
0
votes
2 answers

ExtJS 4.2 pageSize not working

I have a store in which I have mentioned the pageSize config to be 20 and also in my reader I have mentioned the totalCount config. I make the proxy request to a servlet in Java. The servlet fetches data from a MySQL table and builds a json…
Arnav Sengupta
  • 15
  • 5
  • 10
0
votes
1 answer

Why double click sets my Raphael SET coordinates wrong?

I am using Raphael library to draw and work with objects in my extjs app. Basically I was able to find a way to DRAG the SET the following way: var set = paper.set(); set.push( paper.circle(200,200,65).attr({fill: "orange", stroke: "black"}), …
Gago
  • 35
  • 2
  • 12
0
votes
1 answer

How can I create js array from json object returned from php?

Javascript has this fin line of code that alerts you what type of object you are working with. It is the following: alert(Object.prototype.toString.apply(obj)) So, I am working with php and js - extjs 4.2, and looking for a way to pass an…
Gago
  • 35
  • 2
  • 12
0
votes
1 answer

Calculate the grid column value with total value in extjs4.1

I have the grid with two columns: Target and Target Percentage. I am getting Target value from store. I need to calculate Total and Target percentage value using Jan/Total Jan*100. I want a summary for target %. Can anybody tell me how to do this? I…
mohan
  • 13,035
  • 29
  • 108
  • 178
0
votes
3 answers

Delay required in between the execution of two statements

i am working with extjs 4.2 and at one place i am loading the store object like this : var userDetailStore = Ext.create('Ext.data.Store', { model : 'Person.DetailsModel', autoLoad : true, proxy : { type : 'ajax', …
Deba
  • 63
  • 2
  • 11
0
votes
1 answer

How to process php file on tree child click event?

I have created a tree panel in the Viewport and also placed a toolbar with some menu items in the north region of Viewport. This is how it works: I select File -> Open, then I get an i.e. an XML file Now this "somefile.xml" will dynamically be…
Gago
  • 35
  • 2
  • 12
0
votes
1 answer

ExtJs 4 How to get around duplicate id multiple tabs issue for state saving

I have a grid panel that is instantiated on multiple tabs. Each instance of the grid panel has the same columns, but different data. I am trying to use a state manager to save the column settings like column order, and width. The problem is that…
LawZero
  • 91
  • 1
  • 3
0
votes
1 answer

Using BoundList as widget

I have an extended bound list, and I use it as a widget. Get/set value and other works good, but: How can I add a field label before it? Example of set value: setValue: function (v) { this.value = v; // TODO select selected var sm =…
Eleanor
  • 358
  • 5
  • 24
0
votes
1 answer

Download file on row click, in extjs4

i have a grid panel with a column that if you click you downalod a file associate to this row. In extjs 2 i just define a new renderer that is a function who return only return the String format of an url like this: function DownaloadFile(value,…
AfanfeFana
  • 159
  • 4
  • 15
0
votes
2 answers

How to insert records for particular store field in extjs

I am getting Month, Target, Target1 values are getting from webservice available in store. I want to calculate the total value and insert the total field value in the same store. I am doing this for calculation but I don't know how to insert the…
mohan
  • 13,035
  • 29
  • 108
  • 178
1 2 3
99
100