Search Type: Posts; User: lufton

Search: Search took 0.04 seconds.

  1. Replies
    4
    Views
    130
    Hooray! associatedName did the trick! It is pity there is not in default property list of association in Sencha Architect. Solved!
  2. Replies
    4
    Views
    130
    I am sorry, I don't get it, should I add:


    {
    associationKey: 'ifAccount1',
    model: 'Job.model.IfAccount',
    foreignKey: 'if_account1_id',
    getterName: 'getIfAccount1',
    ...
  3. Replies
    4
    Views
    130
    I have table witch has 2 foreign keys to another table. I define two models for this tables and add two hasOne relations for first model:


    ...
    hasOne: [
    {
    associationKey: 'ifAccount1',...
  4. You are welcome!
  5. This issue is present in ExtJs 4.2b, fixed with code above. Please apply this patch in next release :).
  6. Replies
    3
    Views
    531
    Yes, thanks, one more question:
    Is there way to prevent loading hasOne association remotely? For my case if json of parent record has nested (hasOne) data then I want to use it else I didn't want ot...
  7. Replies
    3
    Views
    531
    In SA I add some models and define some relationships between them. I want to use:


    var store = person.addresses()

    to get hasMany related store, but there isn't. Because SA defines my model...
  8. Replies
    20
    Views
    7,148
    Up
  9. Replies
    20
    Views
    7,148
    Hi mitchellsimoens! I love this plugin and I use it for my project.
    What do you think about adding this:


    Ext.define("Ext.plugin.extjs.FileDrop", {
    extend : "Ext.AbstractPlugin",
    ...
  10. This isn't actually about SA, I solve this only adding event binding on my "main" panel and creating my custom Control there:

    abstractcomponent.add({
    xtype: 'boxselect',
    id: 'tags',
    name:...
  11. Hi everyone, I try to use Sencha Architect for some time and get stuck with such problem. I want to use BoxSelect extension but I can't set xtype property of my default Combo. How can I use custom...
  12. Anyone?
  13. Anyone can explain me how to implement infinity grid in Architect 2? What are the required steps to do this if I already have my php API, model, store witch use this model and gridpanel?
  14. Thanks, this is usefull
  15. Ok, I responsed new record as items element and set success: true, this works, but I have one more problem, when I try to update my record script (I use RestProxy) sends POST request to update model,...
  16. This is the handler of my Create button:


    var addAddressWindow = Ext.getCmp('addAddressWindow');
    var addAddressForm = Ext.getCmp('addAddressForm');
    var address =...
  17. I want to get auto_incremented id property for my new instance of my model, but when I do this:


    address.save({
    success: function(record) {
    addAddressWindow.record =...
  18. But even this did not work! You can see on screenshots.
  19. Maybe it is some kind of solution, but then why sencha team make api config of AjaxProxy? It is simplier to use unified technique (CRUD as I khow). Maybe I should response some data like...
  20. I don't get why you think so? In my selection I have 3 items in my case:
    36926
    Every item is a model instance:
    36927
    But script generate strange requests:
    1-st destroy request:
    36928
    2-nd...
  21. I want to make delete button, I have such handler:


    var selection = Ext.getCmp('peopleView').getSelectionModel().getSelection();
    var store = Ext.data.StoreManager.get("PeopleStore");
    for (var i...
  22. Replies
    11
    Views
    7,784
    I have the same problem topic starter described.
    My store is defined like:

    Ext.define('TimeLineStore', {
    extend: 'Ext.data.Store',
    fields: ['rb', { name: 'time', type: 'time',...
  23. Please, do not ignore my problem, help (((
  24. First of all, sorry about my English, I'm from Ukraine, so...
    That's a problem: I need to draw a chart with time (x) and category (y) axes. My store definition is:


    Ext.define('TimeLineStore', {...
Results 1 to 24 of 24