Search:

Type: Posts; User: jtiai

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,822

    Given form: { xtype: 'form', items: [{ ...

    Given form:


    {
    xtype: 'form',
    items: [{
    xtype: 'textfield',
    name: 'name'
    },
    {
  2. Replies
    3
    Views
    1,822

    Form error messages for serverside validation

    I have a form that contains fields - some of them are hidden, some of them are used in combined logic to determine validity.

    Due the complexity of checks validation is done on the server side. It...
  3. Replies
    2
    Views
    1,122

    Really? I feel really noob now... :"> Would...

    Really? I feel really noob now... :">

    Would that work with Application concept as well?
  4. Replies
    2
    Views
    1,122

    Massive single page app with dynamic loading.

    Hi,

    I have massive "desktop app"-like SOA (mostly built on top of Dojotoolkit) which is now considered to move on top of ExtJS 4+ completely.

    Problem is that with Dojotoolkit we could minimize...
  5. I would also do two separate stores and grid...

    I would also do two separate stores and grid reconfigure if there is two different models involved.

    I just got impression from original post that model stays same only URL used data fetching...
  6. In short - MVC doesn't help. "You can't do it"....

    In short - MVC doesn't help. "You can't do it". But you can hack it manually.

    There is several ways to do that - you can define completely two different trees with separate stores and urls.

    Or...
  7. ExtJS MVC application and loading resources as needed basis

    Hi,

    I'm trying to construct MVC application that would load resources only when needed. Now when I've views, stores etc. listed on an application they're loaded at startup - something I though...
  8. Sandboxed ExtJS 4, Ext4.Loader and Ext4.onReady

    Hi,

    I spent good while to figure out problems with our code and found out following works:


    <script type="text/javascript" scr="libs/ext-4.1.2a/builds/ext-all-sandbox.js"></script>
    <script...
  9. Replies
    4
    Views
    1,756

    One more note. This seems to be actually bug in...

    One more note. This seems to be actually bug in ExtJS 4.0.7 which I was still using. In ExtJS 4.1.x problem doesn't seem to appear.
  10. Replies
    4
    Views
    1,756

    Ok, problem was that since I had slightly more...

    Ok, problem was that since I had slightly more complex layout where I had custom component I had typo in "extend" part which caused interesting side-effect.

    I wonder is there way to catch such a...
  11. Replies
    4
    Views
    1,756

    You're right. I even put up jsFiddle test...

    You're right. I even put up jsFiddle test http://jsfiddle.net/FyHgY/ and it seems to work as expected. Wonder what I am doing wrong in my code...

    I hate when this happens. :">
  12. Replies
    4
    Views
    1,756

    Fieldset collapse/expand with other components

    Hi,

    I'm trying to build a form that has one field, one fieldset and container in vertical layout. Problem is that container should resize according to fieldset resize but I haven't been able to do...
  13. Replies
    1
    Views
    1,197

    Ext.Ajax.defaultHeaders not applied

    Hi,

    I'm trying to use Sencha Touch 2.0.1.1 with Django backend. To be able to cope with CSRF protection I need to get value from the cookie and send it in X-CSRFToken header.

    In ExtJS it was...
  14. Replies
    5
    Views
    970

    Paging is nice option but it doesn't fit very...

    Paging is nice option but it doesn't fit very well in my usecase where I actually have two trees open, user selects items from both and does interactions there.

    So I'm more interested seamless...
  15. Replies
    5
    Views
    970

    Leaf nodes represent connectors within devices....

    Leaf nodes represent connectors within devices. They're normally grouped in bundles according to their connection destination.

    But in case of clean device it has just bunch of connectors that are...
  16. Replies
    5
    Views
    970

    Trees and huge nodes

    Hi,

    I might have node that contains tens of thousands child nodes.

    I'm trying to figure out how to lazily load node children (infinite scrolling).

    I can load all children in one go (like it...
  17. I resolved problem for now by adding serverside...

    I resolved problem for now by adding serverside extjs - python converters. Since I know what my data is I can use explicit converters.

    Though it would be nice to have save honor defined date (or...
  18. Replies
    4
    Views
    3,768

    Hmm... I've vbox layout with align stretching. ...

    Hmm... I've vbox layout with align stretching.

    Following slightly stripped out version of my panel that I put in tab.



    Ext4.define('MyPanel', {
    extend : 'Ext4.form.Panel',
    alias :...
  19. Replies
    4
    Views
    3,768

    Nested within panel. My layout is like...

    Nested within panel.

    My layout is like following:

    Tab
    Panel

    Toolbar
    Grid
  20. Replies
    4
    Views
    3,768

    ExtJS tab and grid

    Hi,

    I'm trying to put simple grid in tab, but for some reason first time tab is activated grid is empty. If I reconfigure grid it will show data correctly.

    How to add grid properly to tab so...
  21. Replies
    2
    Views
    1,020

    Well it was a typo. I really meant: ...

    Well it was a typo. I really meant:


    Ext.define('Foo.data.Model', {
    extend: 'Ext.data.Model',
    doMyStuff : function() {
    console.log('I just did this!');
    }
    });
  22. Replies
    2
    Views
    1,020

    Extending Ext.data.Model

    Hi,

    I tried to add custom method to Ext.data.Model by doing normal ExtJS inheritance like follows:


    Ext.define('Foo.data.Model', {
    doMyStuff : function() {
    console.log('I just...
  23. I have model like this: ...

    I have model like this:



    Ext.define('MyModel', {
    extend: 'Ext.data.Model',
    fields: [ { name: 'datefield',
    type: 'date',
    dateFormat: 'Y-m-d'
    }],
  24. Saving date in same format as loading when saving a model in JSON format

    I'm using simple model that contains date field. Server returns and expects to have date in format "YYYY-mm-dd".

    Reading part works perfectly, but when I try to write model back (using .save()...
  25. belongsTo association and nullable foreign key

    I've datamodel that contains lot of nullable foreign keys. I tried to use ExtJS 4 models to contain foreign keys by using belongsTo association but it seems to always crash when there is null entries...
Results 1 to 25 of 33
Page 1 of 2 1 2