Search found 611 matches

by saki
Mon Sep 21, 2020 4:26 pm
Forum: Bryntum Scheduler
Topic: [INFO REQ] [Bug Req] Zoom breaks, no timeline visible
Replies: 4
Views: 63

Re: [INFO REQ] [Bug Req] Zoom breaks, no timeline visible

Would it be feasible for you to try to modify one of our demos to show the example, or modify an example slightly (without revealing your proprietary data/app) so that we can reproduce the problem locally?

If we can reproduce it we can fix it.

by saki
Mon Sep 21, 2020 4:16 pm
Forum: Bryntum Scheduler
Topic: How to perform functionality only for bottom scheduler ?
Replies: 1
Views: 20

Re: How to perform functionality only for bottom scheduler ?

We have a demo that shows customized dragging and dropping, drag restrictions, etc. Consult please the sources of that demo. You can find the example of usage of https://bryntum.com/docs/scheduler/#Scheduler/feature/EventDrag#event-beforeEventDropFinalize. You will need to listen to this event to ex...
by saki
Mon Sep 21, 2020 3:58 pm
Forum: Bryntum Scheduler
Topic: [ANGULAR] Addition of a extra column besides resource and mapping them
Replies: 1
Views: 7

Re: [ANGULAR] Addition of a extra column besides resource and mapping them

There are several steps to make it working. You need to extend ResourceModel : class MyResource extends ResourceModel { static get fields() { return [ { name : 'vehicleNumber', dataSource : 'vehicle.number'} ]; } } You need to let resourceStore to use this model: crudManager : { resourceStore : { mo...
by saki
Mon Sep 21, 2020 2:59 pm
Forum: Bryntum Scheduler
Topic: [ANGULAR] Dependencies Feature of Scheduler in Angular
Replies: 5
Views: 16

Re: [ANGULAR] Dependencies Feature of Scheduler in Angular

Yes, there is https://bryntum.com/docs/scheduler/#Core/data/mixin/StoreFilter#function-removeFilter method that can be used for that. However, the method needs filter id as the first argument so you need to slightly modify the way you create the filter. The following should work: scheduler.eventStor...
by saki
Mon Sep 21, 2020 1:26 pm
Forum: Bryntum Scheduler
Topic: [VUE] Issue setting up scheduler-1.0.2 pro
Replies: 9
Views: 37

Re: [VUE] Issue setting up scheduler-1.0.2 pro

I worked for me with the following: add the following to components/config.js : scheduleMenuFeature: { items: { extraItem: { text: 'Extra', icon: 'b-fa b-fa-flag', onItem({ date, resourceRecord, items }) { console.log(date, resourceRecord, items); // Custom date based action } } } }, headerMenuFeatu...
by saki
Mon Sep 21, 2020 11:52 am
Forum: Bryntum Scheduler
Topic: [INFO REQ] Tooltip on resource column or extra added column
Replies: 6
Views: 21

Re: [INFO REQ] Tooltip on resource column or extra added column

I have made it working in our Angular Basic demo by following: Edit schedulerConfig to add: export default { // other members cellTooltipFeature : ({ record, column }) => `Resource name is: ${record[column.field]}` }; Edit app.component.html to add: <bry-scheduler ... [cellTooltipFeature] = "schedul...
by saki
Wed Sep 16, 2020 10:29 am
Forum: Bryntum Scheduler
Topic: [VUE] Listeners of filterable column stop working when change page by vue router in horizontal mode
Replies: 6
Views: 45

Re: [VUE] Listeners of filterable column stop working when change page by vue router in horizontal mode

The wrapper already contains the logic to call destroy() of the instance so the following will work: beforeRouteLeave(to, from, next) { if (this.scheduler) { this.scheduler.destroy(); } next(); } I've tested it and then destroy and re-create works for me. However, one more workaround is needed: filt...
by saki
Tue Sep 15, 2020 3:00 pm
Forum: Bryntum Scheduler
Topic: [VUE] Listeners of filterable column stop working when change page by vue router in horizontal mode
Replies: 6
Views: 45

Re: [VUE] Listeners of filterable column stop working when change page by vue router in horizontal mode

What is actually happening is the following: user navigates to Scheduler page Scheduler is created; both HTML markup and JavaScript code and variables user navigates away from page Vue router unconditionally destroys HTML markup of Scheduler user navigates back to Scheduler page new instance of Sche...
by saki
Tue Sep 15, 2020 1:42 pm
Forum: Bryntum Scheduler
Topic: [REACT] Disable event drag feature
Replies: 7
Views: 57

Re: [REACT] Disable event drag feature

I have tried it in version 3.1.9 which is the latest stable release of Bryntum Scheduler in typescript/basic . I've added one line to App.tsx : <BryntumScheduler eventDragCreateFeature = { false } // ... Then I used: npm i npm i typescript@latest # otherwise compile fails npm start Events now cannot...
by saki
Fri Sep 11, 2020 10:56 am
Forum: Bryntum Scheduler
Topic: [ANGULAR] autoSync does not detect rowReorder change in 3.1.9
Replies: 12
Views: 108

Re: [ANGULAR] autoSync does not detect rowReorder change in 3.1.9

You get two records in the context: context.record is the record being moved (dragged) and context.insertBefore is the record before which to insert it (it will be undefined, if the record is dragged to the end). So having this information you need to calculate new assemblyOrder (or any other persis...