[CLOSED] Hide Bar calendar

  1. #1

    [CLOSED] Hide Bar calendar

    Hi Team, How Can I do to hide the bar that I am showing in the next image with rectangle red.

    Click image for larger version. 

Name:	CalendarHideBar.png 
Views:	18 
Size:	4.2 KB 
ID:	6990

    Regards
    Last edited by Baidaly; Oct 07, 2013 at 9:52 PM. Reason: [CLOSED]
  2. #2
    Hi @osef,

    Please use:
    Ext.calendar.view.Day.override({
        afterRender : function(){
            this.callParent(arguments);
            this.header.hide();
        }
    });
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @osef,

    Please use:
    Ext.calendar.view.Day.override({
        afterRender : function(){
            this.callParent(arguments);
            this.header.hide();
        }
    });
    Hi Daniil this is working, but I see that in other view is hidden, I want that only in the day view, thank you.
  4. #4
    Hello!

    Sorry, I don't quite follow you, do you mean you have few Day View and you need to hide header only in one of them?
  5. #5
    Got it. My override hides a WeekView's header as well.

    Please use this one instead:
    Ext.calendar.view.Day.override({
        afterRender : function(){
            this.callParent(arguments);
    
            if (this.dayCount === 1) {
                this.header.hide();
            }
        }
    });
  6. #6
    Quote Originally Posted by Daniil View Post
    Got it. My override hides a WeekView's header as well.

    Please use this one instead:
    Ext.calendar.view.Day.override({
        afterRender : function(){
            this.callParent(arguments);
    
            if (this.dayCount === 1) {
                this.header.hide();
            }
        }
    });
    Thank you Daniil this is working.

Similar Threads

  1. Calendar Panel Calendar Store
    By ozlem in forum 2.x Help
    Replies: 8
    Last Post: Apr 25, 2013, 8:02 AM
  2. Replies: 0
    Last Post: Jan 13, 2012, 2:33 PM
  3. [CLOSED] Icon does not hide on item hide
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 09, 2011, 7:13 PM
  4. [CLOSED] [1.0] Calendar - hide/disable buttons in event edit window
    By ljankowski in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 08, 2010, 12:21 PM
  5. [CLOSED] label.Hide() does not hide FieldLabel
    By alexp in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 12, 2010, 9:05 PM

Tags for this Thread

Posting Permissions