Search Type: Posts; User: jasonb885

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    4,769
    Or I'm just applying it directly to DateField, since I want all fields to behave this way.



    Ext.apply(Ext.form.DateField.prototype, {
    initComponent: function() {
    ...
  2. That's embarrassingly obvious. I thought I'd done that originally. For some reason I kept wanting to scroll the TabPanel instead of the individual tabs, which doesn't even make sense.

    Thanks.
  3. Yes, but the goal is to have autoScroll, otherwise, as you said, it's necessary to have a Window of ever increasing size as the form gains additional business items.

    But perhaps there's no way to...
  4. The JavaScript below produces the attached image. What's the correct way to do it so there is no horizontal scrollbar? Using ExtJS 3.2.1. Thank you.



    Ext.onReady(function() {
    var tp = {
    ...
  5. Simple plugin that will toggle buttons based upon whether a row is selected. The Record's data is passed to allow for more granular control. Been using this for quite a while now without any...
  6. It works fine with 3.2.0 and deferredRender set to the default of true. Not sure why. Fortunately I don't seem to have any reason not to defer rendering if it lets me safely use bindStore on a...
  7. I can confirm this behavior and the suggestion both still apply in 3.1. Using the following in my show listener on my window. f is the first form field.

    The other solution is to pre-load the...
  8. Blows up when it's in focus and I close the Ext.Window containing it.



    autoSize : function(){
    if(!this.rendered){
    return this;
    }
    if(!this.metrics){
    ...
  9. I picked this or something like it up somewhere on the forums. It simply modifies the label, which should always align correctly:



    Ext.apply(Ext.layout.FormLayout.prototype, {
    ...
  10. Ultimately I rewrote the approach to take advantage of the fact that Ext.Direct will pool requests. I gave each panel it's own DirectStore at definition time and simply set the correct arguments at...
  11. I have to bindStore in enough places I can't easily workaround this. It only afflicts ListView, not DataView upon which the former is based. Seems like a bug to me. I might have to revert back to...
  12. Wasn't sure where to add bufferResize:false, so I added it to every component and used a delay of 1. No change.

    Presently I am adding a dummy panel, then if I discover bindStore isn't a method, I...
  13. A delay of 5000 seems to work, but makes the component somewhat useless.
  14. I can't make heads or tails of this, but managed to produce a simple test case.



    refresh : function(){
    this.clearSelections(false, true);
    var el = this.getTemplateTarget();
    ...
  15. As it happens, applying the override causes my code to break in the manner of the original poster. Everything works fine without the override for me, however. I'm running the original 3.0 release. ...
  16. Replies
    20
    Views
    7,270
    Not online. Locally with the above override applied, I have to move this window for the *box layout to render correctly.



    var v = new Ext.Window({
    height:300,
    width:300,
    layout:'hbox',...
  17. Replies
    20
    Views
    7,270
    What's more, it seems to break *box layouts inside an Ext.Window. After a manual resize, the layout works correctly.

    I wonder what form this fix will take in the next generally available release...
  18. No idea. I gave up on it. It's not worth the hassle. I always preferred a panel with a form for editing anyway.
  19. Replies
    20
    Views
    7,270
    Ext.override(Ext.Window, {
    initHidden : false,
    hidden : true,


    Toggling the value of initHidden changes my behavior for rendered to the opposite of its set value above.


    ...
  20. Replies
    20
    Views
    7,270
    For me, it produces a rendered window in Firefox 3/Linux, Konqueror 4.2.2, and Opera 10 beta 2.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  21. Replies
    20
    Views
    7,270
    After applying the above, a call to new Ext.Window produces a window that is already rendered:true, disallowing me from usefully attaching events to render or afterlayout passed in via a listeners...
  22. I made a small change that seems to have resolved the helptext alignment issue when there's helptext and one or more inline items with helptext.



    if (typeof this.helpText == 'string') {...
  23. Replies
    20
    Views
    7,270
    Thanks!
  24. Replies
    20
    Views
    7,270
    Interesting.

    Any chance someone can post the fix once there is one as I do not have svn access?

    Thank you!
  25. Replies
    20
    Views
    7,270
    My stock ExtJS 3 behaves differently from yours?

    I want it centered inside Ext.getBody(). Is that renderTo:Ext.getBody()? I've never needed renderTo before, is that what it's for?

    Thanks.
Results 1 to 25 of 42
Page 1 of 2 1 2