Search Type: Posts; User: paffinito

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,614
    I use this code:



    Ext.EventManager.on(Ext.isIE ? document : window, 'keydown', function(e, t) {
    if (e.getKey() == e.BACKSPACE && ((!/^input$/i.test(t.tagName) &&...
  2. You must set



    alwaysDisplayDecimals: true
    Bye
    paffinito
  3. I have changed initRibbon to use '->', '-' and ' ' as a normal toolbar.



    initRibbon: function(item, index) {
    var tbarr = new Array();
    for (var j = 0; j < item.ribbon.length;...
  4. Hi,

    i have made some changes:

    1. initComponent for check valid arguments
    2. onRender to resolve problem in submit with hidden field
    3. currencySymbolPosition argument (before/after)
    4....
  5. Replies
    4
    Views
    6,668
    Thanks!!!
  6. I have add validateValue function to relay validation on a form



    validateValue: function() {
    return (this.input1.isValid() && this.input2.isValid() && this.input3.isValid() &&...
  7. I have update setValue function to manage empty field



    setValue : function(v) {
    if (!Ext.isEmpty(v)) {
    if(this.is_numeric(v)) v = this.long2ip(v);

    ip_arr =...
  8. There is an error on doDisable function.

    change from


    doDisable: function(disabled){
    if(this.input1) this.input1.setDisabled(disabled);
    if(this.input2)...
  9. Replies
    38
    Views
    25,047
    Hi Animal,

    not work with textarea and compositefield.

    Thanks for your help
  10. Unzip in examples directory for a demo.

    Bye
  11. Hi bigice,

    i have solved whit this changes:

    initRibbon:



    footerCfg: {
    cls : "x-btn-group-header x-unselectable", <-- if you want
  12. Not work with internet explorer.

    Error line 4273 in ext-all-debug.js

    Thanks for your help
  13. Very nice plugin!!!

    i suggest one little addition to prevent the group title to be selected :



    cls : "x-btn-group-ribbonstyle", --> cls : "x-btn-group-ribbonstyle x-unselectable",
    CSS
  14. Replies
    15
    Views
    13,779
    For those who need to know mouse X and Y position on click event

    add this at end of onRender event

    this.el.on('click', this.onClick, this);add onClick event


    onClick: function(e, div, o) {...
Results 1 to 14 of 14