当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- September 9, 2020: naked writing algorithm: two threads print numbers 1-100 in turn.
- [byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
- Js字符串-String字符串对象方法
- What the hell is fastthreadlocal? The existence of ThreadLocal!!
- 2020-08-15: under what circumstances should data tasks be optimized?
- Stm32f030f4p6 compatible with smart micro mm32f031f4p6
- Erd-online free online database modeling tool
- August 30, 2020: naked write algorithm: the nearest common ancestor of two nodes in a binary tree.
- Reserved battery interface, built-in charge and discharge circuit and electricity meter, quickly help easily handle hand-held applications
- Count the number of project code lines
猜你喜欢

August 18, 2020: introduce Mr process?

1万辆!理想汽车召回全部缺陷车:已发生事故97起,亏损将扩大

2020-09-09:裸写算法:两个线程轮流打印数字1-100。

Event monitoring problem

Unity performance optimization

Win7 AppCrash (solution)

迅为iMX6开发板-设备树内核-menuconfig的使用

The essence of transaction and the principle of deadlock

Characteristics of magnetic memory chip STT-MRAM

List to map (split the list according to the key, and the value of the same key is a list)
随机推荐
JS string - string string object method
ado.net and asp.net The relationship between
2020-09-04:函数调用约定了解么?
C calls SendMessage to refresh the taskbar icon (the icon does not disappear at the end of forcing)
New features of vue3
Understanding formatting principles
JVM memory allocation - xms128m - xmx512m - XX: permsize = 128M - XX: maxpermsize = 512M
Hdu3974 assign the task segment tree DFS order
How much disk space does a new empty file take?
The Interpreter pattern of behavior pattern
2020-08-29: process thread differences, in addition to the inclusion relationship, the underlying details?
Event monitoring problem
Mongo user rights login instruction
Stm32f030f4p6 compatible with smart micro mm32f031f4p6
Js字符串-String字符串对象方法
DC-1 target
Detect certificate expiration script
Novice guidance and event management system in game development
Message queue - Analysis
Composition of MRAM cache
