Search:

Type: Posts; User: r4nd7263

Page 1 of 4 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    941

    Conditionally render ButtonCell

    I'd like to show ButtonCell only on certain rows in a grid.

    I tried



    final ButtonCell<MyModel> btn = new ButtonCell<MyModel>() {
    @Override
    public void...
  2. Replies
    2
    Views
    2,466

    I found out our old code actually call...

    I found out our old code actually call checkbox.getValue().toString() and put the string value in a hidden field. So my mistake to assume the checkbox submit value had changed in GXT3.

    I am still...
  3. Replies
    2
    Views
    2,466

    CheckBox form submit value

    How do I set the CheckBox value that will be submitted via a form post (FormPanel)?

    Our server is currently accepting "true" or "false" values which worked with GXT2 checkbox. But GXT3 seems to...
  4. Replies
    2
    Views
    802

    It appears the way I declared common model is...

    It appears the way I declared common model is incorrect:



    Ext.application({
    name: 'MyApp',
    ...
    models: [
    'Common.model.MyData'
    ],
  5. Replies
    2
    Views
    802

    Package app with common folder

    I used SenchaCmd and created a workspace. Created a Sencha Touch app. Then followed the tutorial to setup a workspace/common shared code folder. The app is working in development. Then I built...
  6. Replies
    1
    Views
    793

    requires syntax

    The code below works, but is it considered bad practice?



    requires: [
    'Ext.form.*',
    'Ext.field.*',
    ],
  7. Replies
    1
    Views
    1,335

    Kitchen Sink demo issues on iOS 7 beta

    Here is my feedback using Kitchen Sink demo on iPad mini running iOS 7 beta.

    Back button and Source button don't work.

    Everything looks small - text, buttons, everything. Is ST not scaling...
  8. Replies
    1
    Views
    567

    Touch-friendly theme

    We found that our desktop GXT3 app actually works quite well on iPad and Android tablets except that buttons and clickables are too small and not touch friendly.

    But instead of translating the...
  9. Replies
    2
    Views
    1,614

    CheckBoxGroup equivalent

    In GXT 2, I used CheckBoxGroup to group many CheckBoxes in one field and had a custom validator to check that at least of the checkboxes is checked.

    CheckBoxGroup is not in GXT 3, how do I do...
  10. Replies
    1
    Views
    1,410

    Retina Display

    On iPhone 4 retina display, ST1 components (i.e. button, toolbar, etc.) appear half size, but Sencha Touch 2 Kitchen Sink looks fine. Does ST1 not support retina display? Can somebody confirm if...
  11. Replies
    1
    Views
    486

    CardLayout.getPrev

    What is ST2 equivalent of CardLayout.getPrev in ST1?
  12. Replies
    1
    Views
    684

    Define JsonP request success and failure

    Looking at http://docs.sencha.com/touch/2-0/#!/api/Ext.data.JsonP

    What defines if the request is success or failure? I just made a request that responded HTTP STATUS 401. I thought it'd invoke...
  13. Replies
    4
    Views
    2,373

    Found the answer ...

    Found the answer
    http://randsphere.com/c/binbin/wp/?p=55
  14. Replies
    4
    Views
    1,423

    Where do I insert this code? I tried on...

    Where do I insert this code? I tried on Ext.application launch; it didn't work for me.
  15. Replies
    4
    Views
    2,373

    My understanding is: disableCaching is enabled...

    My understanding is: disableCaching is enabled (default) so the loader adds "_dc" param to dynamic loaded files. This causes Chrome to treat each load as new file thus losing the breakpoint.

    I am...
  16. Replies
    4
    Views
    2,373

    How to debug using Chrome

    I can't debug ST2 because breakpoints disappear when I reload the page.

    Searched internet and found several mentions of ?breakpoint and Ext.Loader.setConfig({disableCaching: false});. But I...
  17. Replies
    1
    Views
    581

    Other dependencies

    How should I declare other dependencies that do not fall in one of the 5 categories (models, views, controllers, etc.)?

    In my ST1 app, I had many Helper (i.e. MyApp.helper.DbHelper) classes that I...
  18. Replies
    2
    Views
    565

    I think my problem is that I access index.html...

    I think my problem is that I access index.html using file://, not http:// via a web server.

    Chrome gives this error:



    XMLHttpRequest cannot load file:///D:/temp/MyApp/app.json. Cross origin...
  19. Replies
    2
    Views
    565

    Generated app doesn't use app.js?

    I followed this guide to generate a new app: http://docs.sencha.com/touch/2-0/#!/guide/getting_started

    using:
    SDK Tool: 2.0.0 beta 3
    Sencha Touch 2.0.1.1

    When I open index.html in browser,...
  20. Replies
    2
    Views
    1,693

    Loading local json

    I have a json file in my www folder. I am trying to load it using ajax request:



    Ext.Ajax.request({
    url: "file1.json",
    success: function(response, opts) {
    console.log("success");
    ...
  21. Replies
    1
    Views
    1,689

    Find and focus on a row in TreeGrid

    Given a TreeModel, I want to focus on the row that represents the model in TreeGrid.

    Normally with regular Grid, I do



    int index = grid.getStore().indexOf(m);...
  22. Replies
    1
    Views
    1,333

    Lack of Chart API in Ext GWT Docs 2.2.4

    I can't find any API docs on com.extjs.gxt.charts on this page: http://www.sencha.com/gxtdocs/

    Am I missing something?
  23. Replies
    1
    Views
    1,935

    "Modeling Data" section of this page helps...

    "Modeling Data" section of this page helps
    http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
  24. Replies
    1
    Views
    1,935

    PhoneGap Storage Proxy

    I need to implement a paging list that loads data from device local database using PhoneGap (http://docs.phonegap.com/en/1.1.0/phonegap_storage_storage.md.html#Storage)

    Anyone know of an exmaple?...
  25. Replies
    1
    Views
    1,035

    markInvalid("message"); in validateValue() works...

    markInvalid("message"); in validateValue() works

    However tracing the source code I found out setSelection() performs validation before setting selections. To make matter worse, rawValue is always...
Results 1 to 25 of 96
Page 1 of 4 1 2 3 4