Good morning everyOne,
First of All I want to thank for the amazing product you created , I really appreciate it. The problem i'm facing right now is the following:
I want to manage multiple event state by group let's take a concrete exemple to understand it .
Let's suppose i work for an Hospital , when i sign in in the app , i want to be able to switch between my scheduler and my patients scheduler, In this case a patient can also notify to his doctor when he's available to a simple check up e.g. Bellow the functionnalities that i want to achieve :
Hi Jaden,
We couldn't get the requirement clearly with the given details. So, can you please share more details such as use case scenario with screenshot/video demo? Because it will be very useful to validate the requirement and provide a prompt solution.
Regards,
Balasubramanian S
Hello Sattanathan,
Thanks for the quick reply and support i appreciate. Sure, the picture that i added below show a short example of what i want to achieve. To be clear there are 2 cases , but for now let's be focus on the first only . When a user (doctor or patient) is authenticate in the app he can see his own scheduler and manage it (in this case i'm connected as a Doctor) . As you noticed my events are displayed in the scheduler with different color (that means state of an event) . The events are groupping in 6 different states and 2 classes : Block , Busy slot , Available slot, Requested, Confirmed and Canceled. Bellow the explanation of what i mean by class:
First class Event : Includes : Block (light red) , Busy slot (orange) and Available slot (blue). These events notify the other users (co-worker , patients..) about my availability . Obviously , when they look at my scheduler they only can see when i'm free or busy not interact on these events.
Second class Event : Includes : Request (light gray) , Confirmed (green) and Canceld (red). These events need the involvement of others users to exist .
Hi Jaden,
Your requirement can be achieved by using the eventRendered event with a custom field type. Please find the below sample.
https://stackblitz.com/edit/angular-4fsnow?file=app.component.ts
Regards,
Balasubramanian S
Hi Sattanathan,
Thank's for support, i was able to manage status colors in a different way but your solution is much better!
what i'm trying to do right now is to :
- Add status notification as html element in toolbar
- Block QuickInfo popup where there is an Confirmed Event in a cell already
i was able to achieve this in a weird way , but i'm not satisfy with it. Please find bellow the code
https://stackblitz.com/edit/angular-4fsnow-5zvykw?file=app.component.ts
Sincerely Yours,
Dumber Jaden.
Hi Maniraj,
Thanks for the reply and help. i was able to figure out the problem with "
Add status notification as html element in toolbar" thanks to your help.
The problem
still persist about "Block QuickInfo popup where there is an Confirmed Event in a cell already".
The function "IsSlotAvailable" block the QuickInfo popup , whatever the event there are. I need just
to block the QuickInfo popup for a particular event , the event with a "Confirmed" (event in green color) status only.
Sincerely Yours,
Dumber Jaden.
Hi Maniraj,
Thank's, Sorry if i wasn't clear on my explanation.
To be more specific , i want just to block QuickInfo popup when i click on a cell where there is an "Confirmed event".
That means i can't have 2 events on a same slot if there is a Confirmed event already on it (Block QuickInfo popup to add an event on same slot of a Confirmed event) .
Obviously, if i click on the Confirmed event itself the QuickInfo Popup should open with the information of the event.
Sincerely Yours,
Dumber Jaden.
Hi Dumber Jaden,
Thanks for the clear details.
Please find the modified code below and this block the popup opening when we click on the confirmed cell and open in normal event click.
Sample: https://stackblitz.com/edit/angular-4fsnow-znewa2?file=app.component.ts
Please try the above sample and let us know if you need any further assistance.
Regards,
Vengatesh
Hello Maniraj,
Thank you very much for the help ! That's exactly what I want to achieve.
I also want to achieve one more thing but I will post my request in another topic.
Regards,
Jaden Dumber
Hi Jaden,
You are most welcome!!!
Yes. Kindly post your new query by creating a separate forum. We will happy to assist you.
Regards,
Vengatesh