Search Type: Posts; User: Piruthu

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. 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 :...
  2. try using 'setRawValue' ., comboRef.setRawValue(!comboRef.getValue())
  3. 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 -...
  4. 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:...
  5. try using DelayedTask inside directFn
  6. Replies
    4
    Views
    511
    Try this



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


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

    customStyle is added on 'show' event of the window
  9. Replies
    2
    Views
    384
    just add target:'_blank' to your autoEl



    {tag: 'a', target:'_blank', href: 'http://localhost/dlti/HTML/Main.html', html: 'View Map'}
  10. try using maskCls to add custom css styles for loadmask., it can be defined while setLoading


    somePanel.setLoading({
    msg: "Loading, please wait..",
    maskCls: "customLoadMask"
    });
  11. Replies
    8
    Views
    1,254
    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...
  12. Replies
    4
    Views
    491
    Ext.create('Ext.grid.Panel', { // ...
    listeners: {
    afterrender: function() {
    var menu = this.headerCt.getMenu();
    menu.add([{
    text: 'Custom...
  13. Replies
    5
    Views
    659
    If its Menu.Datepicker, you can store the selected date on some var on 'select' and use it later..
  14. Replies
    5
    Views
    659
    Try this way



    // considering 'myDatePicker' is your picker components itemId
    var myDate = Ext.ComponentQuery.query('#myDatePicker')[0].getValue();
    console.log(' selected date ',...
  15. Replies
    2
    Views
    460
    Set 'floatable' to false, this will force the user to fully expand a collapsed region by clicking the expand button alone.
  16. check for duplicate records... faced the same issue when the store got duplicate records.
  17. Replies
    2
    Views
    316
    Use addCls and add css style like


    .newClass .x-form-field{
    background: red;
    }
  18. Replies
    2
    Views
    394
    Try using 'dropFunction.cancelDrop()' before opening the form. This way the store will not get updated immediately.


    beforedrop: function(node, data, dropRec, dropPosition, dropFunction,...
  19. Replies
    1
    Views
    216
    use summaryRenderer and format number to required precision


    summaryRenderer: function(value) {
    return Ext.util.Format.number(value, '0.0');
    }
  20. Using 'afterBodyEl' and setting 'msgTarget: 'side' works
    1a6
  21. In your initComponent, create a reference var like


    var me = this;

    Then inside listeners, use that ref ... for eg., me.yourFunction
  22. 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,...
  23. Just use the store's sum function... try adding the below to your grid


    listeners: {
    afterrender : function(grid, eOpts){
    console.log('Sum >> ',...
  24. 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
  25. listen for beforeselect and return false if the index is zero (in your case)


    listeners: {
    beforeselect :{
    fn: function( grid, record, index, eOpts ){
    if...
Results 1 to 25 of 39
Page 1 of 2 1 2