Questions tagged [sencha-touch-2]

JavaScript framework for mobile devices, UI interface, DataAccess and encapsulation.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

How to reset pagination in datastore-Extjs

Currently I added one feature to navigate to one page and show the filtered records , but the page is using pagination so the issue is like it's filtering individual pages and showing filtered records ...
Febin's user avatar
  • 1
1 vote
1 answer
384 views

Extjs checkbox boxLabel color not changing

I have a checkbox along with a boxLabel and a textarea as shown below: xtype: 'container', items: [{ { xtype: 'textarea', scrollY: true, screenX: true, height: 130, ...
Ash's user avatar
  • 63
1 vote
1 answer
163 views

Extjs checkbox and textarea - how to disable the checkbox on scroll behavior of the textarea?

I have a text area that displays some text with a vertical scroll bar on the right and a checkbox below the text area as in the code below: xtype: 'container', items: [{ { xtype: 'textarea'...
Ash's user avatar
  • 63
0 votes
1 answer
611 views

How to change the item inside Ext.dataview.List?

I have a List like this: Ext.define('ddp.components.listview.ListView', { extend: 'Ext.dataview.List', listeners: { childtap: function(view, location, eOpts) { // TODO ...
aleadinglight's user avatar
0 votes
1 answer
68 views

Sencha Touch Picker show() with last selection

If I selected a data in Sencha Touch Picker component and hide it, after I show the picker, the selection is only the first record every time. I would like to show the picker with my last selection ...
younghot's user avatar
1 vote
1 answer
68 views

How to make EXT JS model and proxy store work? (please_help!)

I hav'nt understood how to link server data and form's field by using REST api. I have form with some selectfields. And i have values for this particularly fields on server. I think that forms can ...
Tyomik_mnemonic's user avatar
0 votes
1 answer
170 views

How to perform action on the basis of response status while doing sync in Ext.js

This is my store MyStore.js Ext.define('myProject.store.MyStore', { config:{ storeId: 'MyStore', autoLoad: false, autoSync: false, allowSingle: true, ...
Dhruv Singh's user avatar
  • 2,225
0 votes
1 answer
298 views

Sencha Touch: Nested list scrolls to top on Back, how can I disable this?

I have a working nested list. When I navigate back by click the back button, it correctly loads the previous list BUT the default seems to scroll it to the top. It's annoying because say I click on ...
JOhn 's user avatar
  • 313
0 votes
2 answers
1k views

How to add attribute to Text field in Sencha Touch?

I have to add attribute to some text filed and number fields in my Sencha touch form. there I didn't find any config option, that we can set attribute to these fields/controls. Is there any option ...
Vikas Hire's user avatar
0 votes
0 answers
595 views

How to restrict Sencha touch Textfield to accept only numbers and space character?

I am trying to get only numbers and space in Text field of sencha touch. I am using this filed to enter credit card or debit card number. on keyup event I did some code to separate these numbers into ...
Vikas Hire's user avatar
0 votes
1 answer
238 views

Memory usage comparison Xamarin.Android vs Sencha

So I have got a Xamarin.Android application and a Sencha application. Both are exactly the same application just developed on two different frameworks. Now the Sencha application consumes around 60mb ...
Aritra Das's user avatar
0 votes
1 answer
144 views

properties of two models are not shown in grid with ExtJS

I have two models(Cliente and Pago) and put them together in a third model (Modelo), but at the time of linking the data to show them in the grid I have not been able to make it display the ...
Ivxn's user avatar
  • 117
1 vote
1 answer
252 views

Sencha Touch Deployment Options?

I am very new to ExtJS and Sencha Touch. I am trying to learn Sencha Touch, and was able to get a demo version running locally using 'sencha watch'. But I want to deploy this somewhere like Heroku, ...
user avatar
0 votes
1 answer
154 views

Sencha Touch 2.0 Progress Indicator

I have to add progress indicator with % of complete in different ajax request using Sencha touch 2.x, for example if I've 2 Ajax request progress indicator will show 50% complete on each request after ...
Solat Abbas's user avatar
2 votes
1 answer
319 views

My cordova app is not working in M1 a1 mobile

Our android cordova app is working file in all phones but in Mi A1 mobiles it's not working properly , any idea ?
Thom's user avatar
  • 323
0 votes
0 answers
80 views

Compile issue after splitting framework and app in Sencha touch

I have tried to split app.js and framework.js in sencha. production.properties enable.split.mode=true This is working fine for creating sencha production build. But, when I run the ...
RED.Skull's user avatar
  • 1,696
1 vote
0 answers
233 views

Font Face issue with Sencha on IE11 on Tomcat Server

We are using Custom web font for our Sencha Touch Application. We have properly included fonts all formats for all browers. @font-face{ font-family:"AvenirLight"; src: url('../fonts/AvenirLTStd-...
Kapil Wadhwa's user avatar
1 vote
1 answer
302 views

Install button is showing disabled when I clicked on my apk file and showing modify or delete contents of your USB storage

So, even the install button is showing disabled but when I lock screen and turn back on I see the same Install button active. This is happing every time. I just need to know the reason of this issue ...
Ankit Shukla's user avatar
0 votes
0 answers
59 views

Display the selectfield options after enter keyword at searchfield without click on the selectfield

Enter Keyword : _________________ (searchfield) Name :___________________ (selectfield) Hello. Really need your helps. I want to display the selectfield options without click on it. The ...
AFZ's user avatar
  • 1
0 votes
1 answer
513 views

ext js code to add number field dynamically is not showing any errors nor rendering any UI

It is not showing any errors nor rendering any UI. I want to add number field dynamically. var numberField= Ext.create('Ext.form.Panel', { cls: 'questionRows', hidden: show, ...
Manoj j's user avatar
  • 152
0 votes
2 answers
37 views

sencha touch add row of list that has been removed to different index of list

I really need some idea on this. Basically, i'm working to sort list by click a button. If i click up button, the list will go up which the index of selected list will reduced by one. And when i click ...
AFZ's user avatar
  • 1
0 votes
1 answer
761 views

How to use extjs Carousel for tab items

I have 3 items in tabs and want to show dots navigation like extjs Carousel. Here is my code Modified the code using layout card indicator. So indicator works for card same card content and indicator ...
Sagar's user avatar
  • 1,387
0 votes
1 answer
90 views

I want to sort my store in sencha touch facing issues

I have many fields in my object like {id, trackName , mtp , mtpDisplay} I am using below store method to sort data by mtp field.but its setting mtpDisplay to 0. renderTodayEntriesView: function (...
Kalashir's user avatar
  • 1,127
0 votes
1 answer
950 views

Error : The following classes are not declared even if their files have been loaded" after deploying sencha touch application

Uncaught SyntaxError: Unexpected token < sencha-touch.js:8618 Uncaught Error: The following classes are not declared even if their files have been loaded: 'Ext.Title'. Please check the ...
Kalashir's user avatar
  • 1,127
3 votes
1 answer
5k views

Cordova deviceready has not fired after 5 seconds in sencha touch 2 projects

I am facing a problem when I build android and ios application after upgrading Cordova from 2.8 to 5.0.0 in sencha touch 2 projects. Android console prints a message like "deviceready has not fired ...
somechandra sen's user avatar
0 votes
1 answer
531 views

How can i vertically scroll panel in sencha touch

Below is my view , Which i am trying to scroll vertically except "betsFooter" Panel. In this view i am adding some buttons dynamically under "activeBetOptionsPanel" panel. after then dynamically added ...
Kalashir's user avatar
  • 1,127
0 votes
1 answer
223 views

How to get Current Operating form in EXT JS

I have a request to submit a form on a press of ENTER button . I would like to customise it in such a way that it can be used anywhere throughout my application. So whenever i press enter after ...
Kumar's user avatar
  • 183
1 vote
0 answers
28 views

Rename Sencha touch 2 project without rebuilding native packager

I have existing project on Sencha touch 2. Now I want to change application name. As packager I use phonegap. Is there any way to change app name without rebuilding all phonegap project (plugins etc)?
Pavlo Zhukov's user avatar
  • 3,121
2 votes
1 answer
16k views

Ext.Date.format() in Sencha

I want to get date format like 2017-04-20 00:00:00 currently my code is this.ToDatePicker = Ext.create('Ext.form.field.Text', { xtype: 'textfield', name: 'name', labelAlign: '...
Vikas Hire's user avatar
0 votes
0 answers
98 views

How to enable scrolling through keyboard and mouse in SENCHA webApp?

I want to do scrolling using keyboard and mouse in Sencha WebApp just like we do in other websites. One way is to add eventListener and track it do the movement of views. But it would make it very ...
Aman Jain's user avatar
1 vote
0 answers
203 views

EXTjs comobox tpl not working In IE11

I am new to Ext JS. I am working in one of the new project where it is using extjs extensively .One of the EXTjs code snippet is working fine in browsers MS edge, Chrome and Firefox but not in IE 11 ...
Jayakumar Natarajan's user avatar
1 vote
0 answers
140 views

Maximum data limit of SenchaJS Ext.data.store

I'm working on Sencha Touch and making an app specifically for iOS. I want to know the maximum available storage of store. Where exactly data is stored? Is it local storage of browser or your local ...
Rudraksh Pathak's user avatar
0 votes
1 answer
102 views

Stop the itemtap event when I tap in a button which is inside the item list, and keep the itemtap event if I press anywhere outside the button

if I press the decline button it should removes the item from the list, but if I press the area around the button I should see the office detail
Natt's user avatar
  • 45
6 votes
0 answers
202 views

Accelerate Cordova-packaged application load time

I am building a native mobile application using Ext JS 6.2 modern toolkit + Cordova native packaging. I also use CrossWalk Chromium plugin instead of native webview. The application requires about ...
AhmadWabbi's user avatar
  • 2,253
1 vote
1 answer
51 views

Sencha Touch inject Basic Authentication into all requests

I have a Sencha Touch 2.3.1 app that, when inside a PhoneGap/Cordova container, uses Basic Authentication against an IIS server. For some unknown reason, the app worked in old phonegap and cordova ...
Alexander's user avatar
  • 20k
1 vote
1 answer
59 views

Sencha Touch 2.4 : how to add multiple records to TreeStore programatically

I'm having troubles with understanding of how to programatically add data to an already initialized TreeStore. Consider the example from Sencha Touch docs: var data = { "items" : [{ ...
terreb's user avatar
  • 1,437
2 votes
0 answers
253 views

Add onClick function in Ext.XTemplate to specific inner element

i have a list and i created the itemTpl config as "Ext.XTemplate" object, and i can make a listener to the list items but i can not specify the onClick for a specific element in the "Ext.XTemplate", ...
Mohamed A. Shebl's user avatar
1 vote
2 answers
54 views

Routes works at the end

I need to use routes in my sencha project. But i dont understand why routes work at the end even i write before other. For example, myFunction:function(){ console.info('hello ') this.redirectTo(...
Phon Soyang's user avatar
  • 1,363
0 votes
1 answer
484 views

Remove list item without using store in Sencha Touch/ExtJS

I have a list whose items changes dynamically. With a button, I add items this way: myList.insert(index, { //Component }); and it works properly. Now, I want to remove the indexth item. I have ...
Héctor's user avatar
  • 24.6k
3 votes
3 answers
2k views

How to add footer in Grid in sencha

This is my view part as PurchaseReport.js Ext.define("App.view.tabs.PurchaseReport", { extend: "Ext.panel.Panel", alias: "widget.PurchaseReportTab", requires: [ "App.model.PurchaseReport", "...
user avatar
0 votes
0 answers
40 views

How to make dynamically changing content for DetailCard of NestedList in Sencha Touch 2?

I have a nested list. I want to make different content of DetailCard for DetailCard for every leaf of node. This content should have buttons. How to do it? Thanks. Ext.define('Myproj.view.Home', { ...
Elefanobi's user avatar
1 vote
0 answers
778 views

List scrolling on extjs 6

I am using extjs 6 for my project earlier we were having Sencha touch. We have recently migrated our codebase from touch to extjs modern. I am facing an issue with list element. With Sencha touch ...
Manish Kumar's user avatar
0 votes
0 answers
253 views

Add and remove Icon to the button in sencha touch dynamically

I want to add close icon to the button after the text. For this I am trying to insert sibling in the element. I achieved this in ExtJs by doing : button.btnWrap.insertSibling({ ...
Dev's user avatar
  • 3,922
0 votes
1 answer
154 views

break up touch event

let's say i have a following toggle. http://docs.sencha.com/touch/2.4/2.4.2-apidocs/#!/api/Ext.field.Toggle You can toggle by tapping, or by swiping. if u don't let the screen go on swipe, and keep ...
Sergey Sob's user avatar
0 votes
1 answer
24 views

Sencha Touch throwing appcache error when I open it on IE10+ browser

I have small application to display the data on city. It is working perfectly in Desktop Chrome, Firefox, Safari browser . but I am getting AppCache error in IE10 and IE10+ browser
UnmeshD's user avatar
  • 159
0 votes
1 answer
101 views

Separate different data in a response in JavaScript

I have to get the values of the following response. var response = { "data": [ { "value": "Network problem", "text": "Network problem", "areas": [ { "value":...
ReB's user avatar
  • 107
2 votes
3 answers
2k views

how can I override a the textfield component in extjs and use it in multiple forms accross the app?

I am thinking of creating a file called MyTextField.js in views and its contents are Ext.define('MyTextField', { override: 'Ext.field.Input', xtype: 'mytextfield', updateValue: function(...
IsaacK's user avatar
  • 1,218
0 votes
1 answer
48 views

Sencha: Is it possible to keep the touch theme instead of Modern theme?

I'm working on converting my existing sencha touch 2.4 to sencha 6.0.2. Here i thought of loading my application with the old touch theme instead of new modern theme. Is this possible to include the ...
Gowtham S's user avatar
  • 933
0 votes
1 answer
580 views

How to write Ext.Loader.setPath()?

I create one sencha touch project using sencha cmd. I have one plugin call ux.plugin.MyPlug and I put 'ux' under the same directory of 'touch'. In app.js, I add Ext.Loader.setPath('ux', 'ux'). When ...
Ron's user avatar
  • 563
1 vote
0 answers
17 views

Sencha Touch 2.4.2 chart line series - line not drawn fully

I am having an issue on iPads in landscape mode. This does not happen on Android tablets. As you can see from the images, the line does not get displayed fully in landscape mode: Portrait Landscape ...
Michael Thomas's user avatar

1
2 3 4 5
77