Please let me know detail configuration step by step for use bootstrap-date picker from that link https://eonasdan.github.io/bootstrap-datetimepicker/#bootstrap-3-datepicker-v4-docs
I don't know about angular ui bootstrap date picker, but you can use https://github.com/vlio20/ng2-date-picker. It is a highly configurable date-picker.
Related
I'm using MVC.Grid to populate a table & everything is working nicely. However for the date column I would like to click on the filter icon & have a date window to select form instead of the standard equals/contains option. Anyone done this?
FYI - I'm also using bootstrap 3.1 & MVC 5.2.
screenshot of current column filter:
Have a look at this post. You need to add a library for datepicker and add the proper css to the code.
Date Picker
I have been using ng-tagsinput from benford -> http://mbenford.github.io/ngTagsInput/
I am trying to add tooltips for tags added in input field. This tooltip should show contents of the tag. Can anyone help me to add tooltips for the tag?
Any help is appreciated.
Thank you,
I have made little changes in latest file of ng-tags-input.js and ng-tags-input.min.js that will solve your requirement of tool tip.
I have added ng-attr-title={{$getDisplayText()}} at ngTagsInput/tag-item.html template section in js file. by simply adding title attribute to the span tag will work. This change made for you, but #mbenford the creator of this library may add this as an feature.
You can download the file from below links. and you can see the tooltip on tags :)
https://ufile.io/k5v8w - min js
https://ufile.io/sntbh - unminified js
This is a very old question but a template approach is better. Just use the "template" attribute and add tooltip to your template. Details here:
http://mbenford.github.io/ngTagsInput/documentation/guides/custom-templates
I'm working on Grails project and i need to display group of dates in read-only calendars in my gsp.
The dates extends along 6 months and i need to present them by monthly calendar so i need 6 calendars to put my data into.
any suggestion please ? ( preferably apart from jQuery datePicker )
My data is sent from jQuery getJSON function if it does make any difference!
and here is its code:
$.getJSON("${g.createLink(action:'getTimesAsJSON')}",{id:courseId}, function(data){
$("#selector_forCalendars").show().html(data.times) // pseudo
});
Try Bootstrap 3 Datepicker v4. I found it after jQuery datePicker (it did not works for me too). Very easy, nice docs. Tell us later what you think, or ask more about it here.
EDIT: as someone said above, FullCalendar could be a great option too.
Is it possible to extend rich:select or h:selectOneMenu to enable multiple selection? I am looking for a jsf component which looks like the jQuery Chosen plugin.
The component should let me select multiple options from the drop down.
Please note that I can not use h:selectManyMenu or list box because of the specific requirement.
Note: just saw the tags field below the description box while posting a question. I am looking exactly for the same functionality, except that I want a JSF component, not a js plugin.
Any suggestion is highly appreciated. Thanks in advance.
I would use that jQuery Chosen plugin and do something like this:
use jQuery to apply it to your select
use jQuery to get the selected data
pass the data to the backing bean via a hidden input field
There may be 'pure JSF' ways but it looks like more work. If you find something interesting let me know.
I am using Struts jQuery plugin. Problem is with <sj:tabbedpanel>.
I want to preselect the tab depending on the input while loading the page.
I know there is property selectedTab="1".
But I want it to change it while loading the page using jQuery.
In jQuery-UI plugin, there is function $("#tab").tabs('selected',2) which does that.
What is the similar function which does the same thing here.
Try this:
<sj:tabbedpanel id="tabbed" selectedTab="%{selected}"></sj:tabbedpanel>
selected should be a parameter, which decides the opened tab.
If you still wanna use jQuery, please check the api: jQuery Tabs API
here is the important part:
A series of events fire when interacting with a tabs interface:
tabsselect, tabsload, tabsshow (in that order)
tabsadd, tabsremove
tabsenable, tabsdisable
If you want to do this from javascript then use option to set selected tab.
$("#tab").tabs( "option", "selected", 2);