-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertical view and Grouping of Resources in Resource Scheduling #2194
Comments
The current TimeGrid (Week and Day views) is a vertical list of time slots, with they date and resources shown horizontally across the top. Are you asking for a view where those positions are reversed? If so, then no, this is not currently available. It would require a custom 'view', as well as custom methods for determining 'event' placement and selection handling. It does sound like a great addon though. We would look at a PR, if one was submitted. |
Thanks @cutterbl |
Just one more thing I want to ask that is mobile view available for the calendar? |
Mobile needs some rethink. You can get a reasonable view on a tablet. Smaller devices it will render, but I wouldn't call it usable. |
@syedhusain8055 Do you want to achieve something like this: I'd like also to group events in first order by date, next by resource. I used the same code as in mentioned PR, but on current version of RBC, events are grouped by resource, next by day. I hope I understood you correctly |
So, just to be sure, @cutterbl , "expected" side is not possible to configure on current version of ReactBigCalendar, right? |
@damian-kociuba No, the 'expected' is not currently a possible configuration. Would welcome a PR to provide the option. |
@cutterbl Is the vertical representation of resources and corresponding time slots horizontally in Big calendar possible by any means? |
@himanshushukla31 Today? Only if you write a custom view renderer with a custom layout algorithm. |
any update on this? is the "expected" part still not configured? |
@abdulhussain156 No, we have not begun active code development on the next version of Big Calendar. Still in planning stages. |
@cutterbl can we use custom View to make such a week view?? |
@abdulhussain156 Yes, you can. If you decide to do that, I'd love to see it when you're done. |
@cutterbl here is the picture of what I have achieved so far I believe these changes can also be implemented in a separate custom View , all you need is to manipulate the "Timegrid" through CSS and DOM and create a custom header. |
@abdulhussain156 Is this a (custom) nested Resource week view? I know our typical week view with Resources is to have the Resource as the primary header, with the days of the week under the Resource. This looks great! This is a common request that no one has ever submitted a PR for. Anyway I can see your custom view code? Help you with a PR? |
@cutterbl I actually had to face challenges with rendering different Events to different columns. I actually did render the events but it actually affects the styling of the columns. Can you guide me if I can create a custom View using the built-in resouce view? I only need a walk through of how to do it. A push maybe :) |
@abdulhussain156 Sorry haven't gotten back sooner. Been sick. I could try to help you figure it out. First step to creating a custom view is reviewing the docs for it. I would make a copy of the Week View component, rename it, then start making your adjustments. If you get stuck, reach out. |
any update on this ? I want to show day time slot with left side of resources . I have project requiremnt where I can shift time to top like horizontal view also in verticle view is this possible ? |
@mustafa174 Still on the roadmap for 'next', but that is still in planning phases. |
@abdulhussain156 have you made any progress on this, or would you mind sharing what you have achieved so far? |
@abdulhussain156 I'd like to see a sample like this in the docs. |
@reinaldoacdc sorry, I tried making it work, but actually, I was only able to convert the layout, but faced so many challenges showing the EVENTS vertically. I had to stop working on it due to my deadlines. |
@abdulhussain156 No problem, thanks for responding. I have one more question about your sample. |
@reinaldoacdc and define the custom Function like this `
};` in my example I am using, a date start range and end range. In Between those ranges, I am returning a style with background 'white' |
@abdulhussain156 Great idea. Thanks so much for sharing it. |
@reinaldoacdc no worries bro |
Hi,
We just want to use big calendar in our project for scheduling. Our main focus is on Resource Timeline view we have number of resources and also their groups. We need to show the Resources vertically with one level nesting. So is there any prop available for this (may be I missed it) or it needs to be add in react-big-calendar? Does anyone have any other idea for doing this it will be very helpful for us?
Thanks
The text was updated successfully, but these errors were encountered: