Comments (6)
To enable the context menu, you need to:
- Set the
enableContextMenu
option to true - Set the different menu items (and their behavior) that you want, using the
contextMenuItems
options.
You can find an example on this [page](http://www.bootstrap-year-calendar.com/#Examples/Full example)
Then, you can open the context menu by right clicking on a date which contain an event.
from bootstrap-year-calendar.
Hi I already have enable enableContextMenu but it still not work.
Can you help?
from bootstrap-year-calendar.
enableRangeSelection: true,
contextMenuItems:[
{
text: 'Update',
click: editEvent
},
{
text: 'Delete',
click: deleteEvent
}
],
dayContextMenu: function(e) {
console.log(e);
$(e.element).popover('hide');
}
from bootstrap-year-calendar.
In example code it does not open context menu.
but it is set enableContextMenu
true.
when i received answer from @Paul-DS it did not work.
from bootstrap-year-calendar.
Hi,
using example, all working well but context menu working abit weird, when i right click menu shows but on mouse release disapear, so i have to hold right mouse button and then left click to selected option.
Is this wanted design or im missing something ?
thanx
from bootstrap-year-calendar.
@corwin32 you can look #40 , it works good.
from bootstrap-year-calendar.
Related Issues (20)
- Full Example - Name and location dont populate
- TypeError: $(...).calendar is not a function
- listed bellow HOT 1
- [Bug] IE11 can not display box-shadow correctly
- disabled day
- How to overlap only with first day of range
- Bug: WeekNumber is one week too late
- Project still active? HOT 6
- Issue With Bootstrap 4 : Months Calendar Box is showing vertical HOT 1
- Other customize Date style
- Change outlook of RangeSelection
- how customize contextMenuItems?
- Need event for when you click on a day of the week
- March 31 no displayed HOT 2
- Trouble Rendering Datasource from SQL query
- Could someone add the German language to this package?
- Date's from database not showing in the calendar on Safari browser HOT 1
- add Arabic language
- Add Belarusian translation
- Show prices on each day
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-year-calendar.