In FullCalendar 2 i can add this code:
events: [
{
start: '2014-11-10T10:00:00',
end: '2014-11-10T16:00:00',
rendering: 'background'
}
and my events render in background with another color!
Is there a way to use this option with FullCalendar 1.6?
docs : http://fullcalendar.io/docs/event_rendering/Background_Events/
No easy way. If you wanted to change the background color of the whole day, you could just add the fc-highlight class to the appropriate column/row.
The only other way I see is making an actual event, then setting it as semi-transparent, no borders, low z-index, non-clickable and cursor:default.
A crazy option would be to backport the code for background events from the newer fullcalendar.
Related
I am trying to change the background color of cells on a full calendar, regardless of whether there is an event that shares the cell. I have availability data for different times and would like to display a heatmap on my FullCalendar of member availability, a little like a when2meet. I have attempted to do this with uneditable background events without titles, but their background color does not match what I put the background color as (for example, if I set color for a background to "#000000" it displays as light gray).
Is there either a way to add classes to certain time slot cells (for example 8-8:30 on x date) so I can edit their css or to make background color for background events display correctly?
FullCalendar automatically adjusts the colours specified for background events to give them a faded effect.
This is controlled very simply through the "opacity" CSS property of the "fc-bgevent" class, which gets added to every background event's element.
To prevent that you can simply override that property:
.fc-bgevent
{
opacity: 1;
}
See http://jsfiddle.net/qxLuLhsf/2/ for a working demo
The calendar (so far) doesn't seem to account for collision detection when deciding the position of the calendar. For example :
In the screen shot you can see that the calendar goes off screen. Even if I disable horizontal scroll (overflow-x: hidden;), it still renders off screen.
Is there a solution to this without hacking away at the styles?
react-day-picker's DayPickerInput API now has classNames which allows you to change the name of the classes for the overlay and the overlay wrapper. You are basically renaming them so that in your own CSS/LESS file, you can use that name to style the overlay and have it use that instead of the classes in the react-day-picker-style.css (which you should not try to change as a best practice).
If you want to change the default props for the overlay (calendar popup), then you would do something like this wherever you are creating the component:
createElement(DayPicker.Input,
{ //all other props
classNames: {
overlay: "TheNewNameForTheClass",
overlayWrapper: "TheOtherNewNameForTheClass"
}
}
})
And then in your styling file, you would use TheNewNameForTheClass and TheOtherNewNameForTheClass to style the overlay.
I use KendoUI Grid to show data. When I use columns.filterable in configurations guide, the display data is too long.
As you can see in the above picture.
And I investigated and used .k-multicheck-wrap to extend the width.
BUT the problem I met that css class above will affect to all filter menu.
SO I want to affect the Uploaded Time column only.
You can use jquery and filterMenuInit event. This event is fired only once - when you click filter icon. And there you can do this magic.
filterMenuInit: function(e){
if(e.field == "UploadedBy")
{
e.container.css({"width": "800px"});
}
},
Dojo example
I want to remove the blue highlighting that occurs when you mouse over the column header in a grid.Panel column header in ExtJS 4.2.2.
I have successfully changed every other aspect of the CSS using tdCls, baseCls, and manually adding my own classes. I have tried targeting the problem by making CSS classes with the ".x-header-over" or ".x-column-header-inner-over" names. However, these do nothing.
Essentially, I do not want the headers to be clickable or have any affordances that they are. I have turned mouseover off (ie made false) to remove this affordance on the grid itself, but it does not apply to the header.
One option would be to set sortable:false and menuDisabled:true like so in the column configuration itself:
{text: "Name", width:120, dataIndex: 'Name', sortable:false, menuDisabled:true}
This will disable the actions themselves. As far as the CSS highlight goes, if you want to do this for all grids in your application, you can set:
.x-column-header-over {
background:none
}
This will disable the hover background that Ext tacks on when you hover over the element.
Hope this helps!
I would like to change the bacground image for the preloading bar in Flex, the one which appears before loading your application. This article describes the way in which you can change the background-color, but is there a way to add a background image (and keep the loading bar on top of that)?
I think this is what you're looking for: http://blogagic.com/14/the-blogagic-custom-flex-preloader
The Adibe Cookbook you're linking already contains what you need. For example this recipe answers your question: http://cookbooks.adobe.com/post_Display_your_company_logo_while_you_application_lo-12756.html
Set the backgroundImage style of the application:
Type: Object Format: File CSS Inheritance: no Theme: halo
Background image of a component. This can be an absolute or relative URL or class. You can set either the backgroundColor or the backgroundImage. The background image is displayed on top of the background color. The default value is undefined, meaning "not set".