extjs

extjs apps on iphone

This is an extjs single-page application which works fine in FF, IE, and Safari. There are several problems with viewing or using this extjs app in the iphone. The extjs panels/windows do not resize, as it would in a normal screen. When the user zooms out, the expanding viewing area is blanked out. An example image is below: Ip...

ExtJS: Combobox after reload store dont set value

Hello guys. I think I have a very popular problem, but not found answer for it now. :) I got 2 similar comboboxes - at first i set my value by id - comboT.setValue("22763"); and it properly set a text value linked with this id. At second combobox i at first reload store(jsonstore) and then set value - comboC.setValue("3"); But this com...

EXTJS combobox default value after form layout

My combobox's data is loaded after the form layout. var villeStore = new Ext.data.ArrayStore({ fields: [{name:'idVille'} ,{name: 'ville'}] }); var villeInput = new Ext.form.ComboBox({ fieldLabel: 'Ville', store: villeStore, valueField:'idVille', displayField:'ville'...

ExtJS - form failure messagebox

Hi, Im building an app in ExtJS and i have a form with a submit failure function like this: buttons:[{ text: 'Bestil', id:'button_bestil', width:85, handler: function(){ create.getForm().submit({ success: function(f,a){ //do stuff! }, failure: function(f,a){ Ext.Msg.alert('Fejl', 'Error'); } }); ...

Grid scrolls to top when any row is clicked in ext js

hi everyone I am facing a very strange problem. I have a grid and when i CLICK on any row then grid automatically goes to first record, though the row on which i click is selected but not focused. The problem is strange because when i used that same grid as an example then there was no problem and everything works fine. I really dont ...

Sending parameters with ExtJS TreeLoader

Hi all Is it possible to change the structure of the URL that is created by ExtJS when the baseParams are sent to the server via the dataUrl? For example, as it stands setting the baseParams as follows: baseParams: { category: 2 }, dataUrl:'testclass.php' would create the following request string: testclass.php?category=2 Wha...

Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)

Hi All, I spent 2 days trying to figure out this error and would like to share the resolution Problem: I am trying to reconfigure extjs grid panel at runtime with different datastore Code with Error: var el = Ext.getCmp('DummyGrid'); el.reconfigure(SLADataStore, SLAColumnModel); el.load(); Error: uncaught exception: [Except...

Screen doesn't show up when I throw alerts or pop ups till I resize my screen (Extjs on IE 8)

Hi, I am using Extjs(3.2.1) on IE8. When I throw alerts from any screen, the screen becomes blank and there's no display till I minimize or maximize the screen. This also happens while opening some pages sometimes. I am using the desktop framework on Extjs. Can somebody please help me here ? Regards, Jas ...

ExtJS combobox sometimes hides behind window greyed out

So the code below is called when a user selects Save on an ExtJS popup modal window. This window ONLY contains a combobox. Now, sometimes when a user saves this, and then re-opens it later on, the combobox will appear BEHIND the window all grayed out, unable to get to. Other times, it will be fine and work, and no difference in events ha...

Coolite EXT GridPanel

Hello All, I'm new in using Extjs Library , I want to use GridPanel but I don't know how to use it with aspnet , any help will be appreciated Thanks in Advance ...

how can i group specific rows

I have a grid with rows that can have same value in NumRow field example : 4 records with the same field : NumRow = 1234 i want to group them all and apply specific style and if i can brings them grouped after sorting on other fields infos : i am using RowSelectionModel : singleSelect :true Ext.data.GroupingStore1. Ext.grid.Edit...

extJs Alert Help

var encClinic = new Ext.chart.StackedBarChart({ store: new Ext.data.Store({ reader:encReader, url:data.jsonUrl, baseParams:{ cmd:'OHMjson.Graph', graphName:'ENC', graphType:'Clinics' } }), yField: 'CLINIC', xAxis: new Ext.chart.NumericAxis({ stack...

ExtJS. Can i put new cells or rows into rendered panel, with layout : 'table'

For Example: var tablePanel = new Ext.Panel({ border: false, autoScroll: true, layout: 'table', layoutConfig: { columns: maxColumns }, items: items }); Can i add rows or cells to that table? And how can i do that? with method .add or? Thanks. ...

Add plugin after grid has loaded

Hello, Is there a way to add plugin for a grid after the grid has loaded in extjs? I have trouble where I use extjs designer tool to create a grid; however, there's no option in the designer tool where i can specify the plugin. I'd like to find a way to do it programmingly, anyone has any idea how would I do it? Thanks in advance. ...

ExtJS add FormPanel global listener or solution

Hello, I'm using ExtJS 3.0 and I would like to extend FormPanel or any solution so that everytime I show a form, the first field should get focus. I was thinking of adding a global listener (if such exists) like this perhaps: afterrender: function() { Ext.getCmp('formAddProgPaymentDoc').findByType('textfield')[0].focus(); //// Get the f...

vertical scrollbar in ExtJS GridPanel

I'm working on a project where I have a single GridPanel on a page. The panel can display any number of rows and I have the autoHeight property set, which causes the GridPanel to expand to fit the number of rows. I now want a horizontal scrollbar because on some resolutions there is too much data to be displayed (and I cannot reduce the ...

EXTJS can't disable Html editor

My HTMLEditor in extjs won't be disabled I tried : disabled : true, it don't want. how to do ??? ...

extjs chart problem

Hi: I am using ext do draw charts in the browser,I meet a problem: I want to draw two lines in one chart, so I use the ColumnChart, this is my data: var store = new Ext.data.JsonStore({ fields:['name', 'visits', 'views'], data: [ {name:'Jul 07', visits: 245, views: 3000000}, {name:'Aug 07', visits: 240, views: 3...

ExtJS: Linked combobox puzzle

Hello guys. I write special combo object to use it as linked combos. Here it is: comboDivClass = Ext.extend(Ext.form.ComboBox, { fieldLabel: 'Divisions', anchor: '95%', lazyRender:true, store:new Ext.data.Store({ proxy: proxy, baseParams:{rfb_type:'divi...

ExtJS: getRowClass don't work in a GridPanel with grouping view enabled

Hi everyone, I'm trying to do use getRowClass in a grid panel with grouping view enabled. Here is my code (short version) var myPanel = new Ext.grid.GridPanel({ contentEl: 'editor-grid', region: 'center', ds: ds, cm: cm, autoScroll: true, autoExpandColumn:'method-name', view: new Ext.grid.GroupingView({ startCollapsed:false,...