dhtmlx

DHTMLX Tree中文开发指导

耗尽温柔 提交于 2020-04-07 08:54:30
最近开发项目使用到了dhtmlXtree做权限设置,看了网上相关的中文资料很少,就把官方的资料翻译了下,一共分2部分,API可以参考官方文档:http://dhtmlx.com/docs/download.shtml 效果图如下(三态树): d htmlXTree 指南与实例 主要特性 多浏览器/多平台支持 全部由JavaScript控制 动态加载 XML支持 大数据树动态翻译(智能XML解析) 拖拽(同一个树,不同的树之间,不同的框架之间) 带多选框(CheckBox)的树(两态/三态) 定制图标(使用JavaScript或xml) 内容菜单(与dhtmlxMenu集成) 结点数据为用户数据 多行结点 高稳定性 支持Macromedia Cold Fusion 支持Jsp 支持ASP.NET 支持以下浏览器 IE 5.5或更高版本 Mac OS X Safari Mozilla 1.4 或更高版本 FireFox 0.9 或更高版本 Opera (Xml加载支持取决于浏览器版本) 使用dhtmlXTree进行开发 在页面初始化对象 <div id="treeBox" ); tree.enableCheckBoxes(false); tree.enableDragAndDrop(true); </script> 构造器有以下参数: 加载树的容器对象(应该在调用构造器之前被加载)

Add timeline event on DHtmlX scheduler in angularjs

≡放荡痞女 提交于 2020-02-21 13:52:10
问题 I have injected DHtmlX scheduler in my angularjs app with the help of this link. I have followed all the steps of the above link and it's working. Now, I am trying to add timeline event in angular DHtmlX scheduler. But I am not getting the way how can I add timeline event on it. please help out on this. Any suggestion or help would be appreciated , thanks in advance 回答1: I have got the way to add timeline event on DHtmlX scheduler in angularjs, First add this js file dhtmlxscheduler_timeline

Dynamic dhtmlx organization Chart using PHP and Json

独自空忆成欢 提交于 2020-01-06 05:38:08
问题 i have a problem. i don't really understand how should i output this correctly using loops. Table Data: | Name | Position | |:-------------------|----------------:| | MARK NICHOLS | Team Lead| | NICHOLAS CRUZ | Team Lead| | SEAN PARKER | Programmer| | MICHAEL SHAW | Programmer| | LAURA ALVAREZ | Junior| | JOHN FLORES | Junior| I want is in every 2 fetched data the ID and Parent Variable in json must be change like this.: while loop of table from above(){ on this part this is the default value

DHTMLX JavaPlanner maven dependency

折月煮酒 提交于 2020-01-03 00:40:52
问题 Is there any maven dependency for DHTMLX javaCalendar and/or DHTMLX JavaPlanner? Thanks 回答1: Solved! There are 2 cases that you need to issue Maven’s command to include a jar into the Maven local repository manually. 1.The jar you want to use doesn’t exist in the Maven center repository. 2.You created a custom jar, and need to use for another Maven project. Please Check the link. mkyong http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/ Thanks mkyong. 回答2:

dhtmlx date format in server side is not working

你。 提交于 2019-12-25 05:54:12
问题 In client side: {type: "calendar", name: "podatet", label: "PO Date To", value: "", dateFormat: "%d-%m-%Y", calendarPosition: "right","skin":"omega",inputWidth:200}, In server side : "Wed Dec 05 2012 10:31:00 GMT 0530 (India Standard Time)" but I want dd/mm/yyyy, why it comes like this even I formatted? 回答1: Form api allows to access both data as object and date as string. If you are using myForm.getFormData() you will get date object, which will look as above string on server side. But if

dhtmlxgrid: getting an xml string of grid data

六眼飞鱼酱① 提交于 2019-12-25 05:32:25
问题 The dhtmlxgrid documentation is saying that I should be able to get a string with the grid data with the serialize feature. Is there any way to get the current data out of the dhtmlx grid to be able to create my own xml file from it? 回答1: Here are answers about the dhtmlxgrid that might be useful to anyone looking for a grid with a flexible API and one that isn't hardcoded for databases. I needed something to support XML data storage. I looked at several grids and this one was the one with

Creating a Checkbox in Javascript and Dhtmlx

荒凉一梦 提交于 2019-12-24 08:23:13
问题 I am trying to create a javascript based checkbox and the but somehow I am not able to make it work. I created a question earlier but somehow not able to add my code to the comments, hence making a new question. This is what i did: function eXcell_includeDC(cell) { if (cell){ // the default pattern, just copy it this.cell = cell; this.grid = this.cell.parentNode.grid; } this.getValue = regExpGetValueCell; if (this.getValue = 'Y') { var myDiv = document.getElementById("includeDC"); var

Use Request.Files in Classic ASP

妖精的绣舞 提交于 2019-12-23 04:56:31
问题 I want to use dhtmlx vault control for file upload in classic asp. I've used his control in ASP.NET & it works well. But in classic ASP, I'm not able to get files using Request.Files. Can anyone help me for this. The code I'm using for file upload is: var conf = { container: "vaultObj", uploadUrl: "vaultupload.asp", autoStart: false, skin: "dhx_skyblue" }; var myVault = new dhtmlXVaultObject(conf); vaultupload.asp is the file on which I want to write code to upload images. But I'm not able to

Change cell value if checkbox selected - dhtmlxGrid in RoR

我的梦境 提交于 2019-12-13 14:12:50
问题 I'm using dhtmlxGrid on RoR. I have a checkbox and an event "onCheck" that gets activated each time the checkbox is checked. <script type="text/javascript" charset="utf-8"> var grid = new dhtmlXGridObject("grid_here"); grid.setImagePath("/images/dhtmlx/imgs/"); grid.setHeader("Result, PatientID, Approved, Status, Approved Date"); grid.attachHeader("#text_filter,#text_filter,#text_filter,#text_filter,#text_filter"); grid.setColTypes("txt,ed,ch,co,ed"); grid.setColSorting("str,str,str,str,date"

How can i save tasks in dhtmlx gantt?

风流意气都作罢 提交于 2019-12-13 04:49:19
问题 I used dhtmlx for chart gantt, I succeed in saving tasks in the data base, the problem is that when I add a new task there is no change in the chart, for example if I add a new task with 4 days as duration it appears just one cell not four ones and also for the other properties. Here the code of adding a new task : <script type="text/javascript"> gantt.init("gantt_here"); gantt.attachEvent("onLightboxSave", function(id, task, is_new){ mnth = ("0" + (task.start_date.getMonth()+1)).slice(-2),