sencha

EXTJS, problem when applying a layout

When I work with a column Layout, I can't see my labelFields My fields are in cols, but there is no label var familyNameTextField = new Ext.form.TextField({ fieldLabel : 'Ville', allowBlank:false, id : 'familyName' }); var myData = [['EDF','EDF'],['GDF','GDF']]; //The text field for the First Name ...

How to handle scroll events on Ext.Panels in Ext Touch (Sencha Touch) ?

I have two Ext.Panels, one the scrollingContent, inside another, called wrapper. Wrapper is less large than scrollingContent, so the latter scrolls horizontaly inside his wrapper. I would like to handle scroll events and the position of scrollingContent inside wrapper after each scroll. I did not find any solution for this. Any help wo...

In ExtJS, How Can You Loop Through Menu Items?

All, Using Ext JS, if you have a panel with a toolbar that has a menu with several items in it, how can you loop through all items within that menu to, say, remove the respective items icons (i.e. change setIconClass to '')? Many thanks in advance for the response! ...

Simple swipe gallery with jQTouch javascript iphone / ipad

What I wish to achieve is have a simple gallery of images which the user can swipe through using jQTouch ( http://jqtouch.com ) <div id="container"> <ing src="1.gif"> <ing src="2.gif"> <ing src="3.gif"> </div> The images are quite long, for example 200px in width each. The container itself is 300px wide with hidden overflow. What I w...

In ExtJS, Using a DataView, How Can You Detect A Key Held Down?

All, Using Ext JS (3.2), how is it possible to detect whether a user is pressing/holding down a specific key whilst performing another action with a DataView component? The specific application is to see whether the control/shift key is depressed when a right click event occurs on a DataView node, if it is, the node is selected along wi...

AJAX-Request from Phonegap Apps

I'm working on a mobile web-app using HTML5 and sencha touch. My next step is to add some native capability using phonegap. My app uses Ajax requests to retrieve data from a server component and i am not sure if ajax will work within phonegap packed apps? Should i use JSONP instead? ...

Disabling FieldSet items when it is collapsed.

I have Ext.form.FieldSet with some fields in it. It looks like: var register_options = new Ext.form.FieldSet({ autoHeight: true, title: 'My Title', checkboxToggle: true, checkboxName: 'register_options', items: [item1, item2, item3] }); When my fieldset checkbox is unchecked (fieldset is collapsed) i don't want sub...

Sencha treePanel

Hi, I'm using sencha framework to build trees from json and i get result like in this sample: http://dev.sencha.com/deploy/dev/examples/tree/two-trees.html but in my application i want to allow user to do some manipulations with this trees with drag-n-drop and i want get a result from some tree in json (json structure of the tree) so i c...

Sencha Touch do not set scale and allow scrolling and resize on iPhone or iPad

I am playing around with Sencha Touch, especially with examples like http://dev.sencha.com/deploy/touch/examples/ However I am faced with a problem, when using the component the scale is set on the iPhone and the user cannot scroll the page or zoom in or out. How may I disable these settings as I would like to have the carousel on a pa...

Content of Ext.Carousel ist not visible

Hello! I have a problem using the Carousel component of the Sencha Touch Framework. I have a component extended from a simple Panel that does the following: var cardItems = []; this.basicCard = new Ext.Component({ scroll: 'vertical', html: 'Hello Carousel 1!' }); this.basicCard2 = new Ext.Component({ ...

BorderLayout using Ext GWT - LayoutRegion.SOUTH displays NORTH

I'm trying to simply reproduce the sample of BorderLayout on the Sencha website, but the South region won't show up in FF. Here is my following code: package com.google.gwt.test.client; import com.extjs.gxt.ui.client.Style.LayoutRegion; import com.extjs.gxt.ui.client.Style.Scroll; import com.extjs.gxt.ui.client.util.Margins; import com...

ExtJS Pivot Grid Left-Axis height different than data-cell height

I'm trying out ExtJS Pivot Grid. I'm using the examples pretty much as-is from examples (here: http://dev.sencha.com/deploy/ext-3.3-beta1-6976/examples/pivotgrid/people.html ) except I'm putting the grid in a layout so that I can have another grid below it. What seems to be happening is the Left-Axis grid 'stretches' vertically to fill ...

Sencha Touch Tab Handlers

I'm trying to do a Tabpanel in Sencha Touch and add a handler to one of the buttons, but the event doesn't fire when I click it. Any ideas? Here is the code: The handler: var handler = function(button, event) { var txt = "YES!"; alert(txt); }; And the item: items: [{ xtype: 'button', title: ...

Adding child container using sencha

Hello, I am trying to add a container into a popup window.For that I created a container and a pop window.But i can't place the container in a pop window.Is there any way to place it. Thanks ...

how to create panel using sencha

I want to create a panel using sencha.i tried the following code.but it doesn't works. Ext.setup({ icon: 'icon.png', tabletStartupScreen: 'tablet_startup.png', phoneStartupScreen: 'phone_startup.png', glossOnIcon: false, onReady: function() { var main = new Ext.Panel({ title: 'My first panel', //panel's...

Setting style(color) to button in gxt/sencha

Hye all I was trying the free version of sencha API with GWT in base and stumbled upon on the issue of setting color to a button. I tried modifying all the CSS get deployed in the war and tried setting styles also but no luck there. So kindly at least suggest a approach.Thanks in advance. regards la_89ondevg ...

Adding video using sencha

I want to add a youtube video in mysite using sencha.i use the follwing code var pnl = new Ext.Panel({ layout: { type: 'vbox', pack: 'center' }, items: [{ xtype:'video', url: "space.mp4", loop: true, width...

sencha touch and charts

Hello, Has anyone been able to incorporate Charts and graphs into Sencha Touch? If so, an example would be appreciated. Thanks ...

How to make use of the "pinch" touch effect in the Sencha Touch framework?

I'm trying to figure out how to make use of the "pinch" touch effect with Sencha Touch. Do you know of any examples that help with the first steps? The documentation seems to be rather silent about it. Specifically I'm looking for a common task as a starter: I want to zoom it - and - zoom out of an image in JPEG format. Do you know if...

Best available guide to Sencha?

hi everyone, i'm very new to sencha and i need help with it. can anyone give me few links regarding sencha tutorials and books.... on the other day i found out a site showing info and source code about sencha. i remember it as sencha kitchen sink.....but now when i google it i couldn't find it if you know about this please help me wi...