Search Type: Posts; User: kidqn

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Hi everyone, until now I still consider the reason why ST2 uses SASS and doesn't use other CSS types e.g core CSS, Stylus,.. Sass produce CSS code better or worse than the others, doesn't it? Or...
  2. You can see http://docs.sencha.com/touch/2.3.2/#!/example/kitchen-sink example in document :) User interface -> form
  3. Hi everyone. I have a store with model {name: string, lat: string, log: string, distance: float}.
    I want to calculate distance between my location and an item in store, then update field 'distance'...
  4. I 've never heard it before. Thank you, I will try your solution:)
  5. Thank you very much! I have done building apk file. But I have a problem about url.
    In my ST app, I loaded store from a json file. So I create a folder named data same directory as app,...
  6. I have used command: sencha app build native, then my folder has two sub-folder native and package.
    I want to ask how to create APK files. I tried to follow document many times, but not succesfull....
  7. Replies
    10
    Views
    1,718
    What you catch tap event of links for?
    you use
    control: {
    friendList: { tap: 'startChat' } }
    so you should create startChat function instead of...
  8. Replies
    10
    Views
    1,718
    yep :) it is solution.
  9. Replies
    10
    Views
    1,718
    #friendList is itemId, id or xtype which you are using
  10. yes, you should set a static height for your list. For example: height: 350 so that it 's full ,.....Assume that your list has height: 1000px, you can't put in a panel 500px :D
  11. You can insert this code to your app.js

    icon: { '57': 'resources/icons/Icon.png',
    '72': 'resources/icons/Icon~ipad.png',
    '114': 'resources/icons/Icon@2x.png',
    ...
  12. You can use itemtap:function(list, record) to catch event of dataview in your controller.
    In itemtap function, you can try
    console.log(record.get('yourfieldname in your model'));
    For example: ...
  13. Replies
    4
    Views
    1,021
    in your controller file

    ////your controller file
    config: {
    refs: {
    panel: 'xtype of your panel',
    },


    control: {
  14. in panel you set scrollable: { direction: 'vertical', directionLock: true },In every item you set scrollable: false. It's OK:)
  15. Thank you! refresh() solved the problem. Sorry for my code is complicate, so I can't simplify to post it here:D
  16. Hi everybody, I have three file
    Main (Navigation view) => Home (Container) => List
    I set a static height for list in container, with data
    data: [ {text: '1', page: 'product', decsription:',...
  17. try http://alvinalexander.com/mobile/how-to-use-sencha-touch-2.3-ios-7-cupertino-theme, hope it helps you :)
  18. Did you delete caches of browser (ex : Chrome, safari)? Open them and try to delete all history of these browsers. Then access your app again :)
    P/S: you can change ui of back button.
  19. There are many answers for this question in forum,
    For me, the best solution is that you should hide navigation bar, you can hide back button but it may causes many errors if you insert anything...
  20. your link: http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch.

    you must install compass. And after runing compass compile, you have to delete caches , cookies,.. of browser about...
  21. Replies
    4
    Views
    587
    Thank you so much. The code is easy for understanding:) It helps me find out something.:D
  22. Replies
    4
    Views
    587
    My Question model

    Ext.define('sophan.model.Question', { extend: 'Ext.data.Model',
    requires: ['sophan.model.Answers'],
    config: {
    fields : [
    {
    ...
  23. Replies
    4
    Views
    587
    I cannot get data from array in store. I tried to use this code record.get('Answers') which Answers in an array. Can you help me?

    var store = Ext.getStore('Listquestion');
    ...
  24. I tried your solution but it doesn't change:s
    I think there are some errors in set html function
  25. Thank you! Sorry I found the error is load event of store.
    store.on("load", function(s,rs) {//It's OK}:)
Results 1 to 25 of 62
Page 1 of 3 1 2 3