I'm using FullCalendar and I want to allow my users to select a range. Unfortunately, the click and drag is confusing for a lot of users so I want to offer the click on two separate dates to select a range. How do I configure FullCalendar to have the click two separate dates to select a range feature similar to this?
http://airbnb.io/react-dates/?path=/story/daterangepicker-drp--default
Related
I am trying to apply the slicer or filter using Button in Power BI. I have one date column in data and want a button which will slice values for only one date on all visuals in one page.
I have created two bookmarks, one with all values and other with only one date. Bookmarks are working fine ,but when I am I using same bookmarks in Button actions are not doing anything.
Is it possible to use slicer bookmarks with Buttons. Thanks.
I found the reason why bookmark was not working under button. In Power BI Button works with ctrl+click. After adding bookmark to action, ctrl+click on button will do the action.
if anyone has any other solution , please post here.
I am trying to find out how to disable the date click within a cell while in the month view. I cannot find it in the documentation on the site. I only see dayRender and disabling the entire cell. I just need the date itself not the cell. I needed selectable to be true for the calendar just not this piece.
Is there a event/render that I can get to in full calendar to stop this from going to the day view? Thanks for any help that is provided.
In RadGrid filter , i am using
CurrentFilterFunction="Contains",AutoPostBackOnFilter="true"
Every thing is fine , But one issue I've noticed is that if the user types in the the filter text box and then clicks on the menu to select another option, the default filter is immediately applied, and what i have chosen option from menu that is not opening.
And also i don't want use "FilterDelay" because it is filtering automatically after time interval.
Here i want, When Press on Enter or Tab Buttons filter should work and when user type some text in filter textbox next click on any option from menu that will open.
Can any one give solution?
Thanks..
Well, basically with RadGrid and filtering you can't have it both ways. If you define both CurrentFilterFunction and set AutoPostBackOnFilter to true. You can't expect the filtering menu to work the way you want to. That is because AutoPostBackOnFilter will rebind the grid when the filter textbox loses focus (if the value has changed), so if you change the value of the filter textbox and then you want to select a different filter function(using the filtering menu) the grid will refresh before you get to select an item from the filtering menu. What you can do is...
Keep the CurrentFilterFunction, set the AutoPostBackOnFilter to true and then set ShowFilterIcon to false so that users can NOT select a different filtering function, or...
Keep the CurrentFilterFunction, set the AutoPostBackOnFilter to false and then set ShowFilterIcon to true so that users are able to select a different filtering function but notice that you will be dropping a functionality here as well...users will have to MANUALLY select a filtering function in order to filter the grid rather than pressing ENTER
As mentioned, you can't enable both AutoPostBackOnFilter and the filter icon at the same time otherwise you will get exactly these unexpected results
I want to be able to view 3 large months at a time using FullCalendar by Adam Shaw in my WP site. Possible? In other words, current month, plus two more. A 90 day events Calendar starting with the if the current date falls in a given month. Example, today is July 26, so display July, Aug, Sept.
Any ideas? I am calling it for use in a WP Events manager application.
Thanks,
Create three FullCalendar instances next to each other:
Set the defaultView for all three to 'month'.
Disable the previous and next buttons for two of the three calendar instances by manipulating their headers.
Disable any other views (like agendaDay, agendaWeek, etc.) in all calendar headers.
Whenever the viewDisplay callback is called on the calendar with the previous and next buttons, update the other calendar's date using gotoDate.
If you also need to use a week and/or day view, you may wish to set them up in a similar way, although I can imagine that would be confusing. You could also hide (using CSS) two of the three calendars when the user navigates to day or week view, and make them reappear when the user selects month view again. You probably need some CSS hocus pocus anyway to make it all look slick, but I think it should be doable.
I have a list control and i want the user to be able to select many items at a time. Thus I want it to act that if the control key is pressed while he is clicking. Eg if he clicks on a selected row it should become unselected and if he clicks on a unselected row it should become selected.
Do you have any idea how to do this?
Thanks,
Dennis
If you want to follow standard UI Precedent; then set allowMultipleSelection to true and teach your users to use the control and/or shift button to select multiple items.
If you want to select multiple items without having the using press the shift or control button you'll have to extend the List class. I did a sample a while ago using the DataGrid:
http://www.flextras.com/blog/index.cfm/2009/7/23/Flextras-Friday-Lunch--Episode-22--07032009--Auto-Select-DataGrid
http://www.flextras.com/labs/AutoSelectDataGrid/
http://www.flextras.com/labs/AutoSelectDataGrid/srcview/index.html
You can probably use the same technique with a List. But, I don't recommend this approach.