Search Type: Posts; User: Piruthu

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    155
    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 could use EventObject's getRelatedTarget() to find the field.

    Try adding this listener to the Submit button:

    listeners: {
    focus :...
  3. try using 'setRawValue' ., comboRef.setRawValue(!comboRef.getValue())
  4. 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. 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 inside directFn
  7. Replies
    4
    Views
    839
    Try this



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


    //CSS
    .customAlign .x-progress-text{
    text-align:center !important;
  8. try removeCls on hiding the window, so other mask's will not get affected .. updated the fiddle: https://fiddle.sencha.com/#fiddle/196
  9. try this: https://fiddle.sencha.com/#fiddle/196

    customStyle is added on 'show' event of the window
  10. Replies
    2
    Views
    476
    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 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
    1,836
    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
    615
    Ext.create('Ext.grid.Panel', { // ...
    listeners: {
    afterrender: function() {
    var menu = this.headerCt.getMenu();
    menu.add([{
    text: 'Custom...
  14. Replies
    5
    Views
    836
    If its Menu.Datepicker, you can store the selected date on some var on 'select' and use it later..
  15. Replies
    5
    Views
    836
    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
    613
    Set 'floatable' to false, this will force the user to fully expand a collapsed region by clicking the expand button alone.
  17. check for duplicate records... faced the same issue when the store got duplicate records.
  18. Replies
    2
    Views
    397
    Use addCls and add css style like


    .newClass .x-form-field{
    background: red;
    }
  19. Replies
    2
    Views
    520
    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
    270
    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: 'side' works
    1a6
  22. 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 .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 the below to your grid


    listeners: {
    afterrender : function(grid, eOpts){
    console.log('Sum >> ',...
  25. 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 40
Page 1 of 2 1 2