Search found 18 matches

Hi, 1) I want to know how to invoke the "resumeRefresh" method for the code above suggested by you . scheduler.project.on({ refresh : 'resumeRefresh', args : [true], thisObj : scheduler, // Delay 100ms after the event in case its fired more than once // Only the last one will get an invovc...
Hi, Thanks for the reply. when I try this scheduler.suspendRefresh(); // Change the data as much as you like... scheduler.resumeRefresh(true); // true means "and call refresh right now" It is not reducing the number of times render is getting called. But when I try this it is reducing the ...

Hi,

we are having an issue with the date format shown in the Gantt header

For 30 min zoom..it shows in MM/DD but for 1h zoom level, it shows in DD/MM format.

Hi, We are working on a critical demo. we are having performance issues even with 100 events. We are assuming this is one of the reasons. I even tried keeping the eventRendererFunc return a default string "Hi". This did not change the times eventRendereFunc is getting called. Any immediate...
Sure. export const eventRendererFunc = ({ eventRecord, tplData }) => { console.log('MJ Log - Event Render is called'); if (eventRecord.data.type === 'driveTime') { return `${eventRecord.data.name}`; } const { eventStore } = eventRecord; // this just validates an event const { valid: isValid } = even...
Hi, I have a function which we are calling twice. when we call it on initial load, it adds assignments and resources to the store. The event render function is getting called as many times as the number of events. This is good. we make an API call to fetch the data, we call the same function with a ...

Thank you. It is working.

Hi, we followed this Topic and the resources provided. https://forum.bryntum.com/viewtopic.php?t=14789. But programmatically sorting is not working. our column is this { field : 'xyz', sortable: (r1, r2) => { const r1Tasks = r1.events; const r2Tasks = r2.events; const taskCountDiff = _.size(r2Tasks)...

Pardon mats, EventStore has the same issue. You may check the code. In fact, I'm planning to reverting back to old code. Even after putting these patches, issue is not getting fixed. I'll come with more screenshots, if you want.

Would this code fix the event store as well or we will have to add similar code for EventStore as well?