Search:

Type: Posts; User: Piruthu

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    224

    beforePageText, afterPageText and displayMsg...

    beforePageText, afterPageText and displayMsg configs can be used to alter toolbar text - Doc ref
    If you are trying to change something else, pls add more info..
  2. Focus event has an EventObject parameter, you...

    Focus event has an EventObject parameter, you could use EventObject's getRelatedTarget() to find the field.

    Try adding this listener to the Submit button:

    listeners: {
    focus :...
  3. Replies
    3
    Views
    386

    try using 'setRawValue...

    try using 'setRawValue' ., comboRef.setRawValue(!comboRef.getValue())
  4. Replies
    3
    Views
    386

    You could use change event itself to prompt...

    You could use change event itself to prompt confirmation.. on the callback function of confirmation box get the combobox-ref and revert its value if needed, eg -...
  5. Using "Quotation mark" in property grids field label - unable to edit field

    Hi All,

    while trying to use quotation mark in the label text of one field inside property grid., the field becomes un-editable... How to make the field editable
    Sample fiddle:...
  6. try using DelayedTask ...

    try using DelayedTask inside directFn
  7. Replies
    4
    Views
    1,181

    Try this var b = new Ext.ProgressBar({cls:...

    Try this



    var b = new Ext.ProgressBar({cls: 'customAlign'});


    //CSS
    .customAlign .x-progress-text{
    text-align:center !important;
  8. Replies
    5
    Views
    1,195

    try removeCls on hiding the window, so other...

    try removeCls on hiding the window, so other mask's will not get affected .. updated the fiddle: https://fiddle.sencha.com/#fiddle/196
  9. Replies
    5
    Views
    1,195

    try this: https://fiddle.sencha.com/#fiddle/196 ...

    try this: https://fiddle.sencha.com/#fiddle/196

    customStyle is added on 'show' event of the window
  10. Replies
    2
    Views
    573

    just add target:'_blank' to your autoEl ...

    just add target:'_blank' to your autoEl



    {tag: 'a', target:'_blank', href: 'http://localhost/dlti/HTML/Main.html', html: 'View Map'}
  11. try using maskCls...

    try using maskCls to add custom css styles for loadmask., it can be defined while setLoading


    somePanel.setLoading({
    msg: "Loading, please wait..",
    maskCls: "customLoadMask"
    });
  12. Replies
    8
    Views
    2,200

    Property grid - HTML editor

    Hi All,

    HTML editor used to display properly when used as an editor in Property Grid (ExtJs ver 4.1.0)
    Fiddle here: https://fiddle.sencha.com/#fiddle/2dj

    The same is not getting displayed...
  13. Replies
    4
    Views
    679

    Ext.create('Ext.grid.Panel', { // ... ...

    Ext.create('Ext.grid.Panel', { // ...
    listeners: {
    afterrender: function() {
    var menu = this.headerCt.getMenu();
    menu.add([{
    text: 'Custom...
  14. Replies
    5
    Views
    959

    If its Menu.Datepicker, you can store the...

    If its Menu.Datepicker, you can store the selected date on some var on 'select' and use it later..
  15. Replies
    5
    Views
    959

    Try this way // considering 'myDatePicker'...

    Try this way



    // considering 'myDatePicker' is your picker components itemId
    var myDate = Ext.ComponentQuery.query('#myDatePicker')[0].getValue();
    console.log(' selected date ',...
  16. Replies
    2
    Views
    716

    Set 'floatable...

    Set 'floatable' to false, this will force the user to fully expand a collapsed region by clicking the expand button alone.
  17. Replies
    4
    Views
    718

    check for duplicate records... faced the same...

    check for duplicate records... faced the same issue when the store got duplicate records.
  18. Replies
    2
    Views
    464

    Use addCls...

    Use addCls and add css style like


    .newClass .x-form-field{
    background: red;
    }
  19. Replies
    2
    Views
    580

    Try using 'dropFunction.cancelDrop()' before...

    Try using 'dropFunction.cancelDrop()' before opening the form. This way the store will not get updated immediately.


    beforedrop: function(node, data, dropRec, dropPosition, dropFunction,...
  20. Replies
    1
    Views
    315

    use summaryRenderer and format number...

    use summaryRenderer and format number to required precision


    summaryRenderer: function(value) {
    return Ext.util.Format.number(value, '0.0');
    }
  21. Using 'afterBodyEl' and setting 'msgTarget:...

    Using 'afterBodyEl' and setting 'msgTarget: 'side' works
    1a6
  22. In your initComponent, create a reference var...

    In your initComponent, create a reference var like


    var me = this;

    Then inside listeners, use that ref ... for eg., me.yourFunction
  23. By inspecting the element you could see...

    By inspecting the element you could see .x-column-header-text's background image style has been used to display the sort's status, so modifying that style in your css and


    .customHeader,...
  24. Just use the store's sum function... try adding...

    Just use the store's sum function... try adding the below to your grid


    listeners: {
    afterrender : function(grid, eOpts){
    console.log('Sum >> ',...
  25. not sure of using 'getRowClass' for that purpose....

    not sure of using 'getRowClass' for that purpose. Any way you could try removeAt and insert methods of store
    or try using sorters for that purpose like the sample here
    143
Results 1 to 25 of 42
Page 1 of 2 1 2