Search Type: Posts; User: r4nd7263

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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
    1,683
    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
    1,683
    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. It appears the way I declared common model is incorrect:



    Ext.application({
    name: 'MyApp',
    ...
    models: [
    'Common.model.MyData'
    ],
  5. 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
    610
    The code below works, but is it considered bad practice?



    requires: [
    'Ext.form.*',
    'Ext.field.*',
    ],
  7. 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
    435
    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,196
    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,121
    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
    358
    What is ST2 equivalent of CardLayout.getPrev in ST1?
  12. 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
    1,798
    Found the answer
    http://randsphere.com/c/binbin/wp/?p=55
  14. Where do I insert this code? I tried on Ext.application launch; it didn't work for me.
  15. Replies
    4
    Views
    1,798
    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
    1,798
    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
    466
    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. 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. 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,364
    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. 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. 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,560
    "Modeling Data" section of this page helps
    http://www.sencha.com/learn/a-sencha-touch-mvc-application-with-phonegap/
  24. Replies
    1
    Views
    1,560
    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
    907
    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