dhtmlxGantt

交互式的 JavaScript/HTML5 甘特图

软件商: XB Software 当前版本:7.0.5发布日期:2020/6/4推荐:

以下是 "新版功能",如果您需要了解更多信息,您可以联系我们。

v 7.0.5

2020年6月19日错误修复发布当duration_unit config设置为“小时”时,工作时间计算的性能改进。

当duration_unitconfig设置为“分钟”时,工作时间计算的性能改进。

在的配置对象中指定工作日历的 Gantt.getGanttInstance功能已添加。

v 7.0.5

2020年6月4日错误修复发布删除在自动大小模式下的10000像素甘特图的限制,现在允许打印更大的图形。

当用户在文档正文的任何部分而不是仅在甘特图容器上释放鼠标按钮时结束拖放操作。

葡萄牙语区域设置已更新。

修复 gantt.columnIndexByDate 的返回类型。

修复在拖放过程中销毁甘特图实例时激发的脚本错误。

Fix the incorrect calculation of end_date/duration when duration_unit is set to "minute" and the last worktime interval finishes after 23:00

Fix the issue which caused groups of the grouping extension to expand whenever the user modified any task

Fix the issue which caused the second parameter of dataProcessor.setTransactionMode to be ignored if an object was passed into the first parameter

Fix the issue which caused the active inline editor to disappear after repaint of Gantt

Fix the issue with the static_background extension which caused mouse click on empty cells to be interpreted as a click on task elements

Gantt now dynamically repaints links between split tasks during drag and drop

Fix the script error which was thrown from gantt.addTask in the node.js package

Fix the script error which was thrown from gantt.destructor in the node.js package

v 5.2

功能在网格中进行内联编辑

拆分任务 (PRO 版本)

更新的键盘导航

自动调度性能改进

配置能够自动设置任务类型 (PRO 版本)

使用占位符行创建新任务的能力

lightbox的复选框和单选按钮控件

更新的内容安全策略扩展

API用于撤消和自动计划扩展的新方法和事件

在 Grid 行内编辑

dhtmlxGantt 提供两种可选的内容编辑方式:在 Lightbox 编辑表单的帮助下

通过在网格区域中使用内联编辑器

内联编辑允许您直接通过网格进行任何更改: 创建和更新任务, 设置它们之间的连接, 定义开始和结束日期, 或者通过内置编辑器修改持续时间。

为启用行内编辑,你需要指定编辑器列表并用 map_to 编辑器到表格的列var textEditor = {type: "text", map_to: "text"};

var dateEditor = {type: "date", map_to: "start_date", min: new Date(2018, 0, 1),

max: new Date(2019, 0, 1)};

var durationEditor = {type: "number", map_to: "duration", min:0, max: 100};设置在列的配置中的编辑器属性gantt.config.columns = [

{name: "text", tree: true, width: '*', resize: true, editor: textEditor},

{name: "start_date", align: "center", resize: true, editor: dateEditor},

{name: "duration", align: "center", editor: durationEditor},

{name: "add", width: 44}

];

编辑器的属性

在列类型配置对象中保存行内编辑器,目前支持下面几种编辑器:text editor- for editing text columns, e.g. task name

number editor - for editing number columns, e.g. task duration, order, etc.

date editor - for editing date columns, e.g. start and end dates of the task

select editor - for choosing an option from a list

predecessor editor - for setting task-predecessor for the currently edited task. This editor gets the WBS codes of tasks to set connection with the predecessor task.var editors = {

text: {type: "text", map_to: "text"},

start_date: {type: "date", map_to: "start_date", min: new Date(2018, 0, 1),

max: new Date(2019, 0, 1)},

end_date: {type: "date", map_to: "end_date", min: new Date(2018, 0, 1),

max: new Date(2019, 0, 1)},

duration: {type: "number", map_to: "duration", min:0, max: 100},

priority: {type:"select", map_to:"priority", options:gantt.serverList("priority")},

predecessors: {type: "predecessor", map_to: "auto"}

};

自定义行内编辑器

下面是例子代码:gantt.config.editor_types.custom_editor = {

show: function (id, column, config, placeholder) {

// called when input is displayed, put html markup of the editor into placeholder

// and initialize your editor if needed:

var html = "

";

placeholder.innerHTML = html;

},

hide: function () {

// called when input is hidden

// destroy any complex editors or detach event listeners from here

},

set_value: function (value, id, column, node) {

// set input value

},

get_value: function (id, column, node) {

// return input value

},

is_changed: function (value, id, column, node) {

// called before save/close. Return true if new value differs from the original one

// returning true will trigger saving changes, returning false will skip saving

},

is_valid: function (value, id, column, node) {

// validate, changes will be discarded if the method returns false

return true/false;

},

save: function (id, column, node) {

// only for inputs with map_to:auto. complex save behavior goes here

},

focus: function (node) {

}

}

dhtml gantt所有配置_dhtmlxGantt相关推荐

  1. dhtml gantt所有配置_dhtmlx-gantt相关配置

    一:搜索功能 上次文章里面没有写,这次提一下吧,其实dhtmlxGantt甘特图里面自带搜索功能的如图所示 下面是代码展示:第一部分里面是设置列的,这里只显示需要的列,只需要按照如下添加一个标签,就可 ...

  2. dhtml gantt所有配置_Dhtmlx-Gantt基本用法

    以vue使用为例 下载Dhtmlx-Gantt npm install dhtmlx-gantt --save 初始化Dhtmlx-Gantt mounted: function () { gantt ...

  3. dhtml gantt所有配置_甘特图dhtmlxGantt使用教程:如何快速设置内联编辑器和编辑JavaScript Gantt数据...

    dhtmlxGantt是用于跨浏览器和跨平台应用程序的功能齐全的Gantt图表.可满足项目管理应用程序的所有需求,是最完善的甘特图图表库.它允许你创建动态甘特图,并以一个方便的图形化方式可视化项目进度 ...

  4. 动态修改 DHTML Gantt甘特图皮肤样式

    初始化一个DHTML Gantt甘特图的皮肤默认为Teracce Skin 现在项目有一个需求通过按钮动态修改甘特图主题(皮肤),在官网提供的API不难发现修改样式办法.说到底,只是改变CSS样式文件 ...

  5. 在vue中展示甘特图

    甘特图 一.子组件模板 二.需要引入的组件 三.需要在mounted定义相关格式 ①设置日期格式 ②显示操作按钮 ③日期列显示 ④显示的列配置 ⑤左右容器分别有滚动条 ⑥task 内容文本 ⑦task ...

  6. 项目管理工具dhtmlxGantt甘特图入门教程(三):如何配置Gantt

    为了获得甘特图所需的外观,dhtmlxGantt提供了2个对象: gantt.config - 日期.比例.控件等的配置选项. gantt.templates - 甘特图中使用的日期和标签的格式模板. ...

  7. 项目管理工具DHTMLX Gantt灯箱元素配置教程:配置灯箱元素

    本文给大家讲解DHTMLX Gantt如何对灯箱的元素进行配置. Lightbox 是一个编辑表单,用于更改任务的详细信息. 默认灯箱如下图所示. 灯箱可能会有所不同,具体取决于它们用于任务的类型和特 ...

  8. Ext Gantt Web甘特图--自定义任务树

    GanttPanel中默认的设置很难满足客户多变需求,我们就针对一些常用的扩展做一个说明. 一般最常用的需求是,自定义多列,自定义行,自定义单元格等等.下面我们就分别来说明. 自定义列 GanttPa ...

  9. java无框架开发,DON: java 小型web项目快速开发框架,实现无配置,直接关注业务开发.主要解决请求分发解析...

    #DON框架介绍 ##目标 启动零配置快速进入开发 开发时,请求controller路由零配置 配合windfly.jar工具包快速开发 最终实现加入jar包即可快速开发 ##主要特点 无需配置请求u ...

  10. JQuery.Gantt(甘特图) 开发指南

    概述      JQuery.Gantt是一个开源的基于JQuery库的用于实现甘特图效果的可扩展功能的JS组件库. 源码下载 http://download.csdn.net/detail/aaak ...

最新文章

  1. python翻译程序-python实现翻译word表格小程序
  2. eclipse中设置Linux编码环境,更改eclipse中console编码
  3. java实现人脸识别源码【含测试效果图】——DaoImpl层(UserDaoImpl)
  4. Visual Studio 2019 16.4 Preview 3 发布
  5. Navicat for MySQL 连接 Mysql 8.0.16 时报错1251- Client does not support.....的解决办法
  6. setsebool命令和设置命令
  7. 数据化、信息化、数字化和智能化之间联系和区别解析(建设收藏)
  8. 硬盘分区 整G整数法(从1g到200g最精确的整数分区)
  9. 备用计算机机房管理制度,计算机机房管理规定
  10. python编程工具pycharm
  11. Android 设置PIN码-锁屏/校验PIN码
  12. 计算机名校远程在职硕士信息汇总Online Master
  13. 入职百度第二周,我知道了这些
  14. 基于 Transformer 模型的电影评论情感分类
  15. CentOS配置DNS方法
  16. python中unicode函数的包_Python unicodeutil包_程序模块 - PyPI - Python中文网
  17. MongoDB修改文档
  18. Kögra分形字体,字王锋锐、锋艺系列可以加入分形元素
  19. 验证概念(四)验证点的提取和执行
  20. 中等题 leetcode 452.用最少的箭射气球(贪心)

热门文章

  1. 自动计数报警器c语言程序,自动计数报警器.ppt
  2. 工商银行在线支付接口
  3. Oracle RAC 11g实战指南
  4. couchbase java 手册_couchBase在java中使用的基本知识
  5. ember helper
  6. Linux ruby离线安装
  7. 黑莓系统包服务器,黑莓os10.3.3.2163
  8. 金山云服务器e1型,金山云-文档中心-重装系统
  9. Neural Entity Linking综述【详细版】
  10. python程序写诗_用Python光速为你写诗