Search Type: Posts; User: uzver

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,464
    Adopted for extjs v4.0.7 and nodejs v0.6.2

    https://gist.github.com/1416405
  2. I found that menuAlign is applied correctly. But when menu render it use menu element size and for the first time this size is wrong (because menu isn't completely rendered at that moment).
  3. ExtJS 4.0.2 only.
  4. Ext.onReady(function(){
    Ext.create('Ext.button.Button', {
    menuAlign: 'tr-br', // <-- ignored for the first time (used default 'tl-bl?')
    renderTo:...
  5. This happens because js works in this way and extjs doesn't specially cloning objects when instance of any class created. Maybe cloning impossible or has a very difficult implementation. We should...
  6. I think that all data defined in the class body copied to the each instance of this class. And if this data is changed in instance it isn't changed in class prototype. Another example:



    ...
  7. Code illustrated bug:


    Ext.define('Test', {
    data: {}, // <-- isn't cloned for instances.
    constructor: function(config) {
    var me = this;
    ...
  8. Add to requires Ext.form.field.Radio for Ext.form.RadioGroup
  9. Replies
    6
    Views
    1,891
    hmm, disable error handling is a strange way to fix this issues :)
    This is my overrides for grid, scroller and store after that buffered store and grid work.


    Ext.require('Ext.panel.Table',...
  10. Replies
    6
    Views
    1,891
    all issues are reproduced in 4.0.1
  11. Replies
    2
    Views
    2,464
    I made simple nodejs script for getting app dependencies list. It's useful for backend server integration without using Sencha SDK(e.g. rails with jammit gem).


    var appDir = process.argv[2];...
  12. Replies
    292
    Views
    129,137
    Yes, but inside extjs code buttons config converts to dockedItems and extjs 4 has no any simple way to define buttonAlign.
  13. Replies
    292
    Views
    129,137
    Instead of buttons config, add something like:


    dockedItems: [{
    xtype: 'toolbar',
    dock: 'bottom',
    items: [
    { xtype:...
  14. Replies
    6
    Views
    1,891
    I found several issues with buffered store and grid with PagingScroller:
    1) guranteeRange throw error "Start (0) was greater than end (-1) (Store.js:1545)" when server return zero items (store is...
  15. present in B3
  16. Ext.regModel('Test', {
    fields: [
    {name: 'name' , type: 'string' }
    ],
    proxy: {
    type: 'localstorage',
    id: 'test-store'
    }
    });
    Ext.define('TestStore', {
  17. I understood the problem. But how to use singletons with the Application in the same namespace?
  18. Ext.define("app.core.Test", {
    singleton: true
    });
    Ext.define("app.Application", {
    extend: "Ext.Applicaton",
    name: "app",
    singleton: true,
    requires: [ "app.core.Test"],
    ...
  19. So i only want to generate ids for new records on the client-side (UUID) not on the server side.
  20. Ok, it's not a phantom, but it's a new record and request for creating this record on the server side must be POST with url: http://host/resource_name and id must be put as post params (RESTful way),...
  21. Why? It a new record, it doesn't present on the sever. If id present in the url, server try to find resource by id. For creating new record with custom id, id must be in the POST params not in the...
  22. my backend server based on the Rails framework, so it has mechanism for generating RESTful urls for resources and auto-generated url for create some resource is POST to http://host/resource_name...
  23. I create new record, but i generate id for this new record from js and put this id as param to post request. RestProxy add this id to url e.g. ...
  24. If create some model(proxy: rest) with auto-generated id and invoke save for it, RestProxy build url with ID in the url but id must be in the POST params not in the url.
  25. when click recreate grid show loading and js throw error
Results 1 to 25 of 47
Page 1 of 2 1 2