jQWidgets Forums
jQuery UI Widgets › Forums › Scheduler › Adding the second timeruler on the right and customize resources header row
This topic contains 12 replies, has 2 voices, and was last updated by Hristo 4 years, 5 months ago.
-
Author
-
March 18, 2020 at 4:34 pm Adding the second timeruler on the right and customize resources header row #111451
Hello, a few questions:
I’d like to
1) to add a second time ruler on the right side, together with left time ruler
2) to customize resources header row, add resources photos (my resources are people-hairdressers)
3) to hide vertical scrollbar on the right (it is always visible, even if hight is small)Thank you in advance!
SergeMarch 18, 2020 at 4:46 pm Adding the second timeruler on the right and customize resources header row #111452update: 3-rd question resolved by adding [rowsHeight]=”0″
March 23, 2020 at 7:47 am Adding the second timeruler on the right and customize resources header row #111481Hello Serge,
Unfortunately, there is no built-in feature.
Meanwhile, I would like to suggest you look at this demo:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-time-zones.htm?light
I am not sure what is your goal but I hope this could be useful.About the second question, I would like to ask you for more details.
If you mean that you want to add a custom header for the resources (“Room” option) there is no such option, unfortunately.
On the other hand, you could use rendering options for the appointments.
Please, take a look at this demo:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-appointment-customization.htm?lightBest Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comMarch 23, 2020 at 8:03 pm Adding the second timeruler on the right and customize resources header row #111513Hristo hi, thank you for the quick response,
Re the first question- understood, ok
Re the second question – please check this website (screenshot with ppl faces).March 23, 2020 at 8:03 pm Adding the second timeruler on the right and customize resources header row #111514March 23, 2020 at 8:05 pm Adding the second timeruler on the right and customize resources header row #111515March 24, 2020 at 1:23 pm Adding the second timeruler on the right and customize resources header row #111532[please delete this message]
March 24, 2020 at 1:25 pm Adding the second timeruler on the right and customize resources header row #111533Is it possible to customize resource representation as on the screenshot above?
Or probably is it possible at least to display Resource Name instead of Resource Id? Because, if you have 2 resources with identical names, it could be a problemThank you in advance
sergeMarch 27, 2020 at 12:11 pm Adding the second timeruler on the right and customize resources header row #111554Hello Serge,
Could you clarify it?
If you use the “ResourceName” name as adatafield
for the resources and there are two records with the same name then it will be collected in the same resource (in the same group).
You could set whatever you want a name for the resources.
I look forward to hearing from you to clarify it.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comMay 30, 2020 at 7:40 am Adding the second timeruler on the right and customize resources header row #112108Hello Hristo, sorry for the delay with the answer
Suppose, I have two different resources,
1. id= 123, Name = John Doe, Role = Admin
2. id= 456, Name = John Doe, Role = Gardener
They are two different guys, but have the identical namesNow I see it like 2 columns, “123, “456”
I want to see them like “John Doe”, “John Doe”.
Or “John Doe, Admin”, “John Doe, Gardener”
Or “John Doe, Admin, 123”, “John Doe, Gardener,345”June 1, 2020 at 11:27 am Adding the second timeruler on the right and customize resources header row #112116Hello Serge,
You could determinate another datafield for this purpose.
Also, you could set a new custom datafield for your resources.
Please, take a look at this example:
http://jsfiddle.net/hm4sf398/Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comJanuary 10, 2021 at 3:25 pm Adding the second timeruler on the right and customize resources header row #114186Hello Hristo, I’m back after a long break.
Thank you for your answer, but it did not help me (or I did not understand):I need to have on the frontend both ‘resource name’ AND ‘resource id’
Resource Name should be displayed on UI for end-user.
But it’s resource ID, which should be post to Backend, when I want to CRUD an appointment, related to this resourceFor example: There are 2 resources on by BE:
1. {Name = John, id = 123}
2. {Name = Bill, id = 345}
I want to operate with ids (123, 456), but want to display names on UI, like ‘John’ and ‘Bill’ or ‘Jonh:123’, ‘Bill:345’
So I need to have 2 data fields – one for display (Name) and one for communicating with BE(id)
Is such a scenario possible?
Thank you!January 11, 2021 at 1:04 pm Adding the second timeruler on the right and customize resources header row #114200Hello Serge,
I think firstly that you want to have two different time rulers.
But yes, you could update the database based on the ID (with the AJAX or something else).
You could use the events to recognize when one appointment has changed and also, thegetAppointments
and thegetDataAppointments
method could be useful.
About the mentioned from you CRUD operations I would like to suggest you look at this forum topic which could be useful:
https://www.jqwidgets.com/community/topic/crud-with-phpmysql/
I hope this will help.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.