当前位置:网站首页>How to deploy Gantt chart quickly and correctly
How to deploy Gantt chart quickly and correctly
2020-11-06 22:22:00 【roffey】
Deploy the Gantt Chart
In our installation <install path="">\Src The files under the folder should usually be in your web Reference in page , And should be deployed in your server as well .</install> Let's take a closer look at the contents of this folder :
- Script —— Contains all that the Gantt script needs jQuery Utilities / plug-in unit / Widget files and jQuery Gant script file .
- style ——CSS And image files , Define the look and feel of Gantt .
- The theme — Gant used CSS And image file plugins and widgets .
- ResourceStrings—— The localized string dictionary is defined here . Default English string ( Required by default ) And a few other culture strings will be loaded from these files . If the default supported dictionary is not enough , You can add more localized string dictionaries .
- bin—— Include should be in ASP It is quoted in jQuery Gantt MVC Extension assembly . net MVC project .
json Notes on documents
The server must be set up to support json Extension file upload .
By default , The server does not provide .json file type ( There are no wildcards MIME type ). therefore , When they are accessed 404 not found. therefore , You must add MIME Type to allow it to provide files of that type . You can set it at the site level or the server level .
To be in IIS Set this setting for the entire server :
stay IIS In the manager, open the properties of the server and click MIME type
single click “ new ”. Input “json” As an extension , Input “application/data” As MIME type .
stay IIS Set site level in :
If you want to manually add support to your site , You can add the following to your web in . Configure... In the system . Network server :
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/data" />
</staticContent>
Be careful Date.js file
You can see that there is a Src\Scripts\Utils\date.js file , This is a file that must be included in your page .
For the global scene , You should include one of several extension files based on the current running culture of the page . for example , If you run in German culture , You should also include this in your page js file :Src\Scripts\Utils\ Globalization \de-DE.js.
Single HTML Example
stay IIS Deploy a single Gantt in HTML Example
ad locum , We will complete the example ( Part of the installation ) Deploy to IIS The steps involved in the server .
To be in IIS Deploy a single Gantt sample in , The following files need to be copied from the installation path to the server .
RadiantQ jQuery Gantt Package\Samples\GanttControlSkeleton.htm
RadiantQ jQuery Gantt Package\Samples\GanttControlSkeleton.json
RadiantQ jQuery Gantt Package\web.config
RadiantQ jQuery Gantt Package\Src (exclude the bin folder).
IIS Files in the server path

As mentioned in the previous topic of deploying Gantt , Make sure . JSON Of mime type , So that the server can provide examples JSON file .


Related product introduction :
VARCHART XGantt: Support ActiveX、.Net Equal platform C# Gantt chart control
AnyGantt: Ideal tool for building complex and rich Gantt charts
phGantt Time Package: A Gantt chart for the management of assignments and time
dhtmlxGantt: Interactive JavaScript / HTML5 Gantt Chart
版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
边栏推荐
- QT audio and video development 46 video transmission UDP version
- 2020年新规,微信封号怎么快速解除?
- Win7 AppCrash (solution)
- Qt音视频开发46-视频传输UDP版
- Detect certificate expiration script
- 迅为iMX6开发板-设备树内核-menuconfig的使用
- 上海巨微专用蓝牙广播芯片
- NAND FLASH的接口控制设计
- Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
- Event monitoring problem
猜你喜欢
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
实验一
August 18, 2020: introduce Mr process?
QT audio and video development 46 video transmission UDP version
Composition of MRAM cache
Common syntax corresponding table of mongodb and SQL
Bluetooth broadcast chip for Shanghai giant micro
August 14, 2020: what are the execution engines for data tasks?
2020-08-19:TCP是通过什么机制保障可靠性的?
如何使用甘特图图层和筛选器
随机推荐
Zhou Jie: database system of East China Normal University
Unexpected element.. required element
Python 100 cases
2020-09-04:函数调用约定了解么?
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
Road to simple HTML + JS to achieve the most simple game Tetris
Points to be considered when deleting mapping field of index in ES
[learning] interface test case writing and testing concerns
实验一
汽车维修app开发的好处与功能
Visual rolling [contrast beauty]
Detailed software engineering -- the necessary graphs in each stage
STM32F030C6T6兼容替换MM32SPIN05PF
[graffiti Internet of things footprints] panoramic introduction of graffiti cloud platform
2020-08-14:数据任务的执行引擎用的哪些?
2020-08-15:什么情况下数据任务需要优化?
Bluetooth broadcast chip for Shanghai giant micro
Method of code refactoring -- Analysis of method refactoring
Js数组-数组的用法全在这里(数组方法的重构、数组的遍历、数组的去重,数组的判断与转换)
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)