sencha

ExtJS beginner - Samples/Extensions where is the documentation ?

Hello We have been looking at the ExtJS samples quite a few times over the years and recently decided to use it because I was looking at the samples and saw a Tree Grid and felt like "Yes this is exactly what I need". So I download ExtJS read a bit on the getting started/FAQ/Tutorial from the website. Then I decide to try to use the Tr...

Is anyone using Sencha Touch for mobile development?

We're evaluating Sencha Touch for mobile development. Has anyone used this yet (I realize that it's still in beta), and if so, what are its strengths / weaknesses? How does it compare to alternatives? It certainly sounds compelling. Thanks! ...

add Items to Sencha Nested List

Hi i got a Problem with adding new Items to a Sencha Nested List Component. currently my code looks like this: var newItem = nestedList.add({text:rowData.name}); nestedList.doLayout(); The Problem is the Items just wont show up no matter how often on on what i do call doLayout. When in debug the nestedList Object, the items are corre...

Ext JS Cycle through items of a Ext.form.CheckboxGroup

I have a Ext.form.CheckboxGroup with multiple items of Ext.form.Checkbox. Is it possible to cycle through each item of the Ext.form.CheckboxGroup? I have tried the following to no avail: for ( var i in Ext.getCmp('product_category_group').items.items) { console.log(i.getId()); } Any advice appreciated, thanks. ...

Ext JS: AJAX response opens new browser tab

How can I make an AJAX request using Ext JS and have the response (a PDF file) load into a new browser tab (or window)? ...

Ext JS Reordering a drag and drop list

I have followed the tutorial over at http://www.sencha.com/learn/Tutorial:Custom_Drag_and_Drop_Part_1 It is great, however now I need pointers on how to add functionally of being to be able reorder a single list. At the moment when I drop a item on the list it is appended at the end. However I wish to be able to drag a item between two ...

On click even for divs of a specific class Ext JS

I have been following: http://www.sencha.com/learn/Tutorial:Introduction_to_Ext_2.0 And using the following example: Ext.onReady(function() { var paragraphClicked = function(e) { Ext.get(e.target).highlight(); } Ext.select('p').on('click', paragraphClicked); }); I am using something very similar: Ext.onReady(...

Ext JS on click event

I have the following event: Ext.onReady(function() { Ext.select('.gallery-item img').on('click', function(e) { Ext.select('.gallery-item').removeClass('gallery-item-selected'); Ext.get(e.target).parent().addClass('gallery-item-selected'); }); }); Which works fine when the page loads. However I dynamically create additional ...

Ext Js Radio button with input text in its label

In ExtJs I would like to achieve the equivalent of: <input type="radio"><label><input type="text"></label> Where the input box is associated to the radio button. new Ext.form.RadioGroup({ id:"alerts", items: [ new Ext.form.Radio({ ...

On change event Ext.form.DateField

I have a Ext.form.DateField: new Ext.form.DateField({ id: 'date_from', format: 'd/m/Y', editable: false, listeners: { change: function (t,n,o) { console.log('dsd'); } } }) However unfortunately the change event does not seem to be execute...

Reloading a json store with new parameters ExtJs Ext.data.JsonStore

I am currently having trouble of reloading a json store with new parameters. Here is my store: newsletters = new Ext.data.JsonStore({ url: '/newsletters/', root: 'results', fields: [ 'id', 'body' 'recipients' ], baseParams: { command: 'json', to: dateTo, fro...

Turning Sencha Touch-based app into a true native iPhone app?

As I understand, Sencha Touch is just a javascript library that lets you create websites that respond to multitouch and other features you find in native iPhone apps. So... Your end result is accessed on Safari on the iPhone, and not as a native iPhone app. Is there a way to convert this to a native app? ...

Can we create reports using EXTJS ?

Hello, I want to know if we can create reports using EXTJS. Thnx a lot ...

Extjs change fieldLabel after field is rendered. Any better solution?

I examined how ExtJs renders form's fields in dom. To change fieldLabel after field is rendered I find proper dom element and change its innerHTML; /** * Modifies field's label afrer field is rendered. * * @param {object} field * Some object that directly or indirecty extends Ext.form.Field * @param {String} label * New value for ...

PhoneGap: It's possible to use only the phonegap.js and it's functions only in a Website (doesn't want an App only a Webpage)?

It seems that I haven't understood correctly how PhoneGap works. I thought: Take an index.html, include the PhoneGap.js in as type of JavaScript and open the result on iPad/iPhone. But then, none of the functions like accelerometer, beep(), vibrate() is working. Is it necessary to build an app for that for working correctly? I have a ...

Getting swipe direction and speed jQTouch jQuery

I have the following javascript: var jQT = new $.jQTouch({ touchSelector: '#swipeme', fixedViewport: false, fullScreen: false }); $('#swipeme').bind('swipe', function(evt, data) { $('#gallery').css('margin-left',parseInt($('#gallery').css('margin-left'))-10...

What's the problem with the ExtJS Hybrid State and encoding using PHP ?

So the other day I posted about a problem I had trying to use the sessionProvider found in the examples of ExtJS but it was in a fairly complex page so I figured I woud trim things down and use the basic array-grid sample that uses the default CookieProvider to demonstrate the state saving in a cookie and modify it to use the SessionProv...

Does anybody know of an MVC framework the works well with ExtJS?

I am using ExtJS with a rails backend and would like to use an MVC pattern. Does anyone have any insite on this? ...

ExtJs / Sencha : how to highlight a grid row after insert ?

Hi, I want to create such a grid: http://www.sencha.com/deploy/dev/examples/grid/edit-grid.html Actually I already did, but I want to highlight the last inserted row of my grid (in extjs this is the function highlight(), which does a yellowfade on the element). I didn't actually succeed in doing this... my problem is that I can't get ...

Custom icon in TabPanel fails

Hi all, I'm trying to add a custom icon to a TabPanel but when I do that it just shows a dark box with rounded corners. My css looks like this: http://pastebin.org/447682 The code in the url is base64 for some random rss icon I found on the web. I also tried to add a relative url to an image but without any success. If I change my co...