Fullcalendar:如何在实时视图中选择多个资源和日期 [英] Fullcalendar: How is possible to select multiple resource and days in timelive view

查看:387
本文介绍了Fullcalendar:如何在实时视图中选择多个资源和日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用fullcalendar,我需要让用户选择多行以创建多资源事件(

I'm using fullcalendar and I need to let user select multiple rows for create a multi-resource event (documentation) but I not find how to do so. Anyone have any idea?

推荐答案

我会说它不受支持. https://fullcalendar.io/docs/selection/select_callback/表示选择时创建后,回调将返回单个资源"对象,该对象将指示用户选择的资源.这意味着不可能通过在时间轴上拖动鼠标来选择多个资源.

I'd say it's not supported. https://fullcalendar.io/docs/selection/select_callback/ indicates that when a selection is made, the callback will return a single "resource" object which will indicate the resource chosen by the user. This implies that selecting multiple resources via dragging the mouse on the timeline is not possible.

您可以通过与多个资源相关联的事件"提要创建事件(请参见 https: //fullcalendar.io/docs/resource_data/associating_events/),但尚未通过用户界面支持.

You can create events via the "events" feeds which are associated with multiple resources (see https://fullcalendar.io/docs/resource_data/associating_events/) but it's not supported via the UI yet.

您必须创建自己的UI,以允许用户指定它,和/或向维护者提出功能请求以在将来添加此支持(它可能已经在路线图上,我还没有看).

You'd have to create your own UI to allow the user to specify this, and/or put in a feature request to the maintainer to add this support in future (it may already be on the roadmap, I haven't looked).

这篇关于Fullcalendar:如何在实时视图中选择多个资源和日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆