当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- How to prepare for the system design interview
- Road to simple HTML + JS to achieve the most simple game Tetris
- STM32F030C6T6兼容替换MM32SPIN05PF
- #JVM 类加载机制
- 2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
- [byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
- 大佬们如何在nginx镜像里面增加模块?
- Open source a set of minimalist front and rear end separation project scaffold
- 小程序商城系统插件代码该如何写?怎么用代码检查添加插件是否成功?
- Empty test suite appears in JUnit test
猜你喜欢
Stickinengine architecture 12 communication protocol
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
September 3, 2020: naked writing algorithm: loop matrix traversal.
The native API of the future trend of the front end: web components
A good thing for working people -- to temper the will of iron and steel requires such an efficient computer
Method of code refactoring -- Analysis of method refactoring
Bluetooth broadcast chip for Shanghai giant micro
Utility class functions (continuous update)
How to make characters move
高速公路二维码定位报警系统
随机推荐
Zhou Jie: database system of East China Normal University
JS array the usage of array is all here (array method reconstruction, array traversal, array de duplication, array judgment and conversion)
Understanding formatting principles
August 18, 2020: introduce Mr process?
August 14, 2020: what are the execution engines for data tasks?
消防器材RFID固定资产管理系统
August 24, 2020: what are small documents? What's wrong with a lot of small files? How to solve many small files? (big data)
Js字符串-String字符串对象方法
The Interpreter pattern of behavior pattern
2020-08-30:裸写算法:二叉树两个节点的最近公共祖先。
The native API of the future trend of the front end: web components
Interviewer: how about shardingsphere
Event monitoring problem
C and C / C + + mixed programming series 5 - GC collaboration of memory management
轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
Jenkins installation and deployment process
1万辆!理想汽车召回全部缺陷车:已发生事故97起,亏损将扩大
2020 database technology conference helps technology upgrade
How to prepare for the system design interview
Qt音视频开发46-视频传输UDP版