Support Forum
New MVC examples for Gantt/Scheduler using Java backend with a MySQL database. Requires Eclipse to run, all dependencies attached.
- Attachments
-
- sch-java.zip
- Scheduler-Java CRUD MVC
- (10.68 MiB) Downloaded 18563 times
-
- gnt-java.zip
- Gantt-Java CRUD MVC
- (10.74 MiB) Downloaded 3459 times
JavaScript/Angular/ExtJS consulting - kuba@virtualdesign.pl
Hello,
I'm triyng to run the gantt example on Oracle DB.
After all changes on the descriptor (of course I also created an Oracle schema based on script for MySQL bundled) all that I can see is in an empty Gantt.
Any suggestion please?
Some years ago, I bought the Gantt+Scheduler for Sencha 3.x, and now I would test if the new version can fit my needs of a starting project.
Thanks
Seek
I'm triyng to run the gantt example on Oracle DB.
After all changes on the descriptor (of course I also created an Oracle schema based on script for MySQL bundled) all that I can see is in an empty Gantt.
Any suggestion please?
Some years ago, I bought the Gantt+Scheduler for Sencha 3.x, and now I would test if the new version can fit my needs of a starting project.
Thanks
Seek
Hi,
Well, try to debug why its empty? See if the AJAX request is being made to the correct backend's endpoint and that backend returns correct data, etc.
Well, try to debug why its empty? See if the AJAX request is being made to the correct backend's endpoint and that backend returns correct data, etc.
Read the API documentation
Ok, I see that all your fields in JSON are prefixed with "tas_". Did you make the appropriate changes for the field names in the task model?
See https://www.bryntum.com/products/gantt-for-extjs/docs/ ... stomizable
See https://www.bryntum.com/products/gantt-for-extjs/docs/ ... stomizable
Read the API documentation
I noticed that, too, I was just fixing...nickolay wrote:Ok, I see that all your fields in JSON are prefixed with "tas_". Did you make the appropriate changes for the field names in the task model?
See https://www.bryntum.com/products/gantt-for-extjs/docs/ ... stomizable
I have never used this setup with Hibernate and Spring, my mistake! excuse me!!
All fields are "overridable"?nickolay wrote:Sure, no prob
Ext.define('DEMO.model.Task', {
extend: 'Gnt.model.Task',
idField: "tas_Id",
nameField: "tas_Name",
startDateField:"tas_StartDate",
endDateField: "tas_EndDate",
durationField: "tas_Duration",
durationUnitField:"tas_DurationUnit",
percentDoneField: "tas_PercentDone",
clsField: "tas_Cls",
leafField: "tas_Leaf",
parentIdField: "tas_ParentId",
phantomIdField: "tas_PhantomId",
phantomParentIdField:"tas_PhantomParentId",
fields: [
{name: "tas_Resizable", type: "boolean"},
{name: "tas_Draggable", type: "boolean"}
]
});
That's right with exception for "parentIdField" - its a standard field from the Ext.data.NodeInterface. But AFAIK its not used for tree.
Read the API documentation