Search found 1712 matches

As Mats noted before we need a proper runnable test case to assist you. Otherwise it's hard to say something. :)
Just use dependency store:
    dependencyStore.add(new dependencyStore.model({
        fromTask    : fromId, // from task Id
        toTask      : toId // to task Id
    }));
Milestone is a task having zero duration.
How I can save state expanded nodes? I try create array with "Id" nodes when I expand node in method "itemexpand", but it is not work. What method I can listen to the opening event of the node? All you need to do is just set expanded field as persistable in your model: Ext.defin...
You need to return "expanded" field set to true for the nodes you want to be expanded (of course you need to save the expanded state for corresponding nodes before).
No special method for this.
Your "data" parameter should keep an array of modified records instead of modified record itself. If you check request structure in our example you'll see it. Since I've never seen your test case I cannot tell more. p.s. If you turn "data" to array you probably won't need to pass...
blackfox1987 wrote:I tried that, but then $obj->Id return ''
Have you debugged your request to make sure that transfered JSON has Id filled?
Add 2nd argument to json_decode() call:
$array = json_decode($array, true);
Please try investigate yourself before posting here. Explanation on PHP syntax/features/etc is out of scope of this forum.
https://lmgtfy.com/?q=Cannot+use+object+ ... s+as+array
If I understood you correctly these config options should do the trick: https://docs.sencha.com/extjs/4.2.2/#!/api/Ext.data.Model-cfg-idProperty https://www.bryntum.com/products/gantt-for-extjs/docs/#!/api/Gnt.model.Task-cfg-nameField https://www.bryntum.com/products/gantt-for-extjs/docs/#!/api/Gnt....
Not sure that I understood you correctly. :)
If you want to change the time frame of scheduler please check this method https://www.bryntum.com/products/gantt-for-extjs/docs/ ... etTimeSpan