jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts

  • infinitel
    Participant

    Yes! It was that! Many thanks again!

    in reply to: Custom appointment tooltip Custom appointment tooltip #96751

    infinitel
    Participant

    Great Peter, I still need to know more about your great work.

    Adding this:

    $("#scheduler").on('viewChange', function (event) {
    
                    console.log("viewChange is raised");
                    
                    $(document).ready(function(){
    		    	    $('[data-toggle="tooltip"]').tooltip({html: true});   
    		    	});
                    
                    
                });

    Solved the problem 🙂

    in reply to: Custom appointment tooltip Custom appointment tooltip #96731

    infinitel
    Participant

    Thanks Peter, is there any event where I can get that switch of view?

    in reply to: Custom appointment tooltip Custom appointment tooltip #96720

    infinitel
    Participant

    I tried something like this on the jqxscheduler definition:

    renderAppointment: function(data)
    	            	{
    	            		
                    	
                    		
                    		var from = new Date(data.appointment.from);
                    		var formatedFromDate = addZero(from.getUTCHours()) + ':' + addZero(from.getUTCMinutes());
                    		var to = new Date(data.appointment.to);
                    		var formatedToDate = addZero(to.getUTCHours()) + ':' + addZero(to.getUTCMinutes());
                    		
                    		data.html = "<p class='appointment' data-toggle='tooltip' data-placement='top auto' data-original-title='" + 
                    						data.appointment.subject + "<br>" + 
                    						data.appointment.description + "<br>" + 
                    						formatedFromDate + " - " + formatedToDate + "<br>" + 
                    						data.appointment.id + "'>" +
                    								"<span class='subject'>" + data.appointment.subject + "</span/><br>" + 
                    								"<span class='description'>" + data.appointment.description + "</span/><br>" +
                    								"<span class='id'>" + data.appointment.id + "</span/>" +
                    					"</p>";
                    		
                    		
    	            	
    	            	return data;
                	}

    The result is a bootstrap tooltip on every appointment, but when I change the view to month and go back to week, it doesn’t work anymore. Any idea?

    in reply to: Sheduler Click Date?? Sheduler Click Date?? #96638

    infinitel
    Participant

    Is that still working on ver5.1.0? I have tried that example and it doesn’t work or I haven’t been able to

Viewing 5 posts - 1 through 5 (of 5 total)