dhtmlx

dhtmlx grid smartrender not work normally after sorting with splitAt mode

北城余情 提交于 2019-12-12 02:36:49
问题 I use split mode and smartrender in dhtmlx grid. After I sort rows, rendered rows disappear and never come out on the right side, like the following picture. after sorting, rows on right side could not be rendered anymore(click here to view the picture) It's strange, rows on the left could be rendered when I scrolling on both sides.But rows on right side could not be rendered. Anyone helps? Thanks! code structure: var grid = new dhtmlXGridObject('#container'); grid.setImagePath("./bower

Event handler for header clicks in DHTMLX Scheduler

人盡茶涼 提交于 2019-12-11 11:33:55
问题 We use DHTMLX Scheduler and we would like to attach a listener for clicks on header in week view , unit view , etc. We didn't find a way to do this. We also need date in our listener with date for which click was performed. How can we do this with DHTMLX Scheduler ? 回答1: DHTMLX Scheduler does not provide an event for clicks on header, so in order to do this, you need to change templates for your views first: var toStr = scheduler.date.date_to_str(scheduler.config.day_date); scheduler

How can add new field to an event with dhtmlx scheduler?

和自甴很熟 提交于 2019-12-08 04:39:05
问题 I want to add new fields or propierties to an calendar event. How can I do it? Thanks! 回答1: You need to add new section to lightbox form http://docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:details_form for new section of lightbox, set map_to value as name of new field on server side add extra field to the list of fields in render command 回答2: This is how you would create a simple href link inside an event: 1) Go to the Event Configuration Console and create a custom field, under the section

How can add new field to an event with dhtmlx scheduler?

点点圈 提交于 2019-12-07 00:19:32
I want to add new fields or propierties to an calendar event. How can I do it? Thanks! You need to add new section to lightbox form http://docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:details_form for new section of lightbox, set map_to value as name of new field on server side add extra field to the list of fields in render command squivo This is how you would create a simple href link inside an event: 1) Go to the Event Configuration Console and create a custom field, under the section that says 'CUSTOM FIELD'. Give the field a name. In this example, call it 'url'. Select its type as

How to customize dhtmlxscheduler.js file for adding some fields in popup?

风流意气都作罢 提交于 2019-12-06 08:55:33
问题 I have some requirement for dhtmlx scheduler, here I would like edit the event and add one text box and one button.Can you please suggest me how we can cusomize the .js(compressed) file. Is there any separate .js files are availble for Development version. If any please suggest me. Thanks, Rajasekhar 回答1: I found this solution: Modify the file dhtmlxscheduler.js i mean section fields : lightbox: { sections: [ { name: "description", height: 40, map_to: "text", type: "textarea", focus: true },

Add timeline event on DHtmlX scheduler in angularjs

我们两清 提交于 2019-12-05 17:22:44
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 I have got the way to add timeline event on DHtmlX scheduler in angularjs, First add this js file dhtmlxscheduler_timeline.js in your angularjs project.(add this in src/assets/js folder and call this file ) Second add this code in

How to customize dhtmlxscheduler.js file for adding some fields in popup?

被刻印的时光 ゝ 提交于 2019-12-04 13:55:47
I have some requirement for dhtmlx scheduler, here I would like edit the event and add one text box and one button.Can you please suggest me how we can cusomize the .js(compressed) file. Is there any separate .js files are availble for Development version. If any please suggest me. Thanks, Rajasekhar I found this solution: Modify the file dhtmlxscheduler.js i mean section fields : lightbox: { sections: [ { name: "description", height: 40, map_to: "text", type: "textarea", focus: true }, { name: "Note", height: 40, map_to: "text", type: "textarea", focus: true }, { name: "Status", height: 40,

Prompt user to save file through AJAX call

喜你入骨 提交于 2019-11-30 14:00:17
I'm exporting my DHTMLX grid to csv and have successfully been able to create the .CSV file. The problem I'm having is that it isn't prompting the user to save/open the file. I'm using a $.post call from javascript to send the CSV string to PHP, then writing that string to csv. For some reason it isn't creating a prompt for the user, but it is successfully writing the file and saving on the server. Below is the relevant code: JS: myGrid.csvParser = myGrid.csvExtParser; myGrid.setCSVDelimiter('|'); myGrid.csv.row = "endOfRow"; var gridCsvData = myGrid.serializeToCSV(); $.post( "data/export.php"

Prompt user to save file through AJAX call

℡╲_俬逩灬. 提交于 2019-11-29 19:31:51
问题 I'm exporting my DHTMLX grid to csv and have successfully been able to create the .CSV file. The problem I'm having is that it isn't prompting the user to save/open the file. I'm using a $.post call from javascript to send the CSV string to PHP, then writing that string to csv. For some reason it isn't creating a prompt for the user, but it is successfully writing the file and saving on the server. Below is the relevant code: JS: myGrid.csvParser = myGrid.csvExtParser; myGrid.setCSVDelimiter(