问题标签 [dhtmlx]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
4500 浏览

calendar - 如何使用 dhtmlx 调度程序向事件添加新字段?

我想向日历事件添加新字段或属性。我该怎么做?

谢谢!

0 投票
2 回答
1344 浏览

dhtmlx - 在 dhtmlx 的列表视图中添加复选框

如何在网格视图的组合框中添加复选框。

0 投票
1 回答
969 浏览

jquery - 如何自定义 DhtmlxScheduler 时间段?

我想在 dhtmlxScheduler 中自定义时间段间隔(例如到 00:00,00:05,00:10 ...23:55)到 1:00 2:00....12:00。可能吗?如果是,请告诉我该怎么做。

谢谢,阿比

0 投票
1 回答
3288 浏览

javascript - How to add custom field to dhtmlxScheduler?

I want to add multiple custom fields to the lightbox in dhtmlScheduler. I realize that this is a dup of a prior question but that answer is incomplete/incorrect.

My application correctly stores and recalls data from a MySQL database using dhtmlxDataProcessor on the client and dhtmlxConnector via PHP on the server side. I have carefully read, re-read, and parsed documentation on Custom "details" form. I've worked with the code in the 05_custom_editor.html sample.

The problem is that those examples do not work - they silently fail to store the second field, "Details", in the Description section. This is not surprising since nowhere is the field mapped to a database column.

  1. What changes are needed so the "Details" field of the example form stored in the database and recalled with the event?
  2. What changes are needed to support read-only data in the Details field that is populate based on the "Text" field? What I'm thinking of is a name that has an address associated with it.
  3. How to invoke a custom windows with a form from the lightbox to populate the address?

I would prefer to be able to do this by extending the default lightbox, but that is not a requirement.

Any guidance is appreciated.

0 投票
1 回答
1437 浏览

javascript - DHTMLX 调度程序不会加载数据

我正在使用 DHTMLX 生成日历视图。

我已经关注了 DHTMLX 网站上关于如何加载日历的教程。是的,它工作完美,但数据不会加载。

此示例代码来自 dhtmlx 网站

加载主体时加载 init() 函数的位置

<body onload="init();">

我用 jquery 更改事件 onload。它看到运行正确

但是当我更改 xml 位置时,数据不会加载。我确定我输入的 xml 位置是正确的。

我的错误是什么?

0 投票
1 回答
1168 浏览

jquery-mobile - 比较 jquery mobile 剑道煎茶 jqtouch

我是所有移动应用程序的新手,我认为我想找到一个图表库,它可以在所有类型的手机(ios、android、windows 手机等)中播放。我正在搜索,但有很多而且我很困惑。jquery 手机, kendo、sencha、jqtouch、web 2.0、dhtmlx 等等。我希望我的应用程序可以在所有手机上运行,​​任何人都知道最好的图书馆。我已经使用过我之前提到的库,但是如果还有其他要测试的东西,请告诉我。

这是我到目前为止看到的一些链接:

http://docs.dhtmlx.com

http://web20boom.com/web/touch.php

我将使用phonegap。请任何它会非常有用。

也许我的问题不是很清楚,对此我很抱歉。我想要一个用于构建基于 HTML5 的移动 Web 应用程序的 JavaScript 库。我想在我的应用程序中制作所有的美(按钮、面板等)我不想制作图表我想要一个我可以用来制作的库旋转木马、手风琴和其他简单但稍微困难的想法。但直到现在我看到的所有库都不能在所有手机上正常工作。这就是为什么我问是否有一个图书馆在任何地方都能玩得很好。但是非常感谢为您解答。

例如,我想要一个像 jquery mobile 这样的库,但我想至少在 ios 和 android 手机上玩得很好。如果有人知道任何库,请帮忙。

0 投票
1 回答
1176 浏览

javascript - 从 dhtmlxgrid 打开一个新窗口,避免弹出阻止程序

阅读此避免浏览器弹出窗口阻止程序证实了我的感觉,即添加阻止程序确实只是允许由用户生成的事件打开的弹出窗口。

我正在使用 dhtmlxgrid 并通过“onRowSelect”事件从用户单击一个单元格时收到通知,但调用会引发 Firefox 和 Chrome 广告拦截器的问题:

任何想法或神奇的解决方案。

0 投票
1 回答
2129 浏览

asp.net - 用于 asp.net 的 DHTMLX 调度程序

我想将 DHTMLX 用于 asp.net 而不是 mvc。我只能找到在 mvc 中使用它们的教程。是否有任何教程可以指导在 asp.net 3.5 中使用。我正在使用视觉工作室 2008。

0 投票
1 回答
488 浏览

asp.net-mvc-3 - 验证至少有一个字段填写在 dhtmlx 表单中

我的表单中有文本框和下拉菜单。我有一个名为“搜索”的按钮。当我输入值并单击搜索按钮时,我会显示搜索结果。

不需要输入所有值,用户必须输入至少一个值,否则我们必须给出输入至少一个值的验证消息。我该如何进行此验证?

我给了喜欢:

我的警报工作正常,但我想在表单顶部以“请输入至少一个字段”的形式显示验证消息。我怎样才能做到这一点?

0 投票
3 回答
274 浏览

javascript - 编辑 dhtmlx 树中的项目时突出显示文本

当我希望用户从树中重命名项目时,我为他打开编辑器:

但我希望选择编辑器中的文本(突出显示)。现在光标在文本的末尾,文本没有被选中。这个怎么做?