Search Type: Posts; User: gfrancis1@gmail.com

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I have made a work-around by calling the buttons click handler after the toggle(), but I would have expected toggle() to work this way by itself

    btn.toggle(false); // set toggle 'off' ...
  2. In this fiddle I have two buttons A and B.
    If you hit A, it is toggled 'on' and it's event-handler is called.
    If you hit B, button A is toggled off but it's event handler is not called, even though...
  3. s
  4. Replies
    25
    Views
    14,052
    Very disappointing Sencha - over a year since you yanked this functionality from 3.x and promised a 'better' replacement in 4.1. This is a major blow to your credibility with developers.
  5. Hello,
    I'm trying to use Ext.History in my Web application, but I feel I'm missing something fundamental.

    When a user makes a selection on my page's Form, I can use
    Ext.History.add(newtoken,...
  6. it was because I was missing
    <form id="history-form" class="x-hide-display">
    <input type="hidden" id="x-history-field" />
    <iframe id="x-history-frame"></iframe>
    </form>
  7. I'm using Ext 4.0.2, and trying to 'fix' the back button for an Ajax-loaded page using Ext.util.History,
    But when I put the following code on my page:



    Ext.require(['Ext.util.History']);...
  8. I have defined a TreeView, and when it gets rendered to the HTML page, the first element is a DIV with the id of my TreeView:


    <div id="levelTreePanel" class="x-panel x-tree-panel x-tree-lines...
  9. Hi,
    I'm trying to load my grid (with paging) to a specific page.
    I tried:
    Ext.getCmp('resource_grid').getStore().load({ params: { start: 250, page: 5 }, callback: function(){ alert('foo') } })...
  10. Thanks for your reply. Can you elaborate just a little on the meaning of 'continue using define' .. I guess you are referring to a known MVC methodology for using Ext - using Define for *all*...
  11. If I define a Store definition, such as:


    Ext.define('ContactStore', { extend: 'Ext.data.Store',
    nocache:true,
    model : 'CRM_CONTACT',
    proxy : {
    type : 'ajax',
    ...
  12. Aha, just what I was looking for!
    Thanks, ~o)
  13. I have a Tree and a Grid within a Form Panel. When the browser window is not big enough to show everything within the Form, scrollbars appear automatically - which is fine and desired. What I want...
  14. I am using Ext.util.History to allow users to intuitively use the Browser's 'back' button.
    My application shows a list of items, and allows the user to select an item to edit it.
    When they're...
  15. I've found that setting the main form to it's current size triggers the scrollbar visibility:


    win.setHeight( mainDiv.clientHeight );
    win.setWidth( mainDiv.clientWidth );
  16. I have a form with a (vertical) scrollbar, but when I first load the page the scrollbar isn't visible (content at the bottom is clipped). If I resize the browser window and then resize it back to...
  17. same thing seems to work fine if I dont define a separate panel subclass??

    http://jsfiddle.net/blackfrancis75/zRfbw/4/
  18. Hmm, even with those changes I get the flex error
    http://jsfiddle.net/blackfrancis75/63Bbr/2/
  19. thanks tvanzoelen; I'll look at that
  20. thanks 'friend' but I can't do that - the idea here is that there will be more 'card' panels (because it's a Wizard)
  21. So , does it mean there's a bug in Ext (4.07)?
    As you can see, my Border layout does have a 'center' region
  22. can anyone tell me why this script gives
    'ext-all.js:15
    Uncaught TypeError: Cannot read property 'flex' of undefined'

    http://jsfiddle.net/blackfrancis75/63Bbr/

    I think it's to do with the...
  23. I have a set of Combo Boxes which are dynamically loaded using the following code:



    for(var i = 0 ; i < strata.item.length; i++) {
    var s_id = strata.item[i].stratum_id;
    ...
  24. this might clarify what I'm trying to do, but doesn't work; i.e the value "" is being sent back to the server for 'foo' instead of 4:



    Ext.define('SPVStore', {
    extend: 'Ext.data.Store',
    ...
  25. ok so I have figured out why the records weren't returning.
    so the only question I have now is how to define a constructor on my Ext.data.Store subclass, and call that constructor with an argument?
Results 1 to 25 of 46
Page 1 of 2 1 2