Search found 2079 matches

The following works. For simplicity I created the global listener: app.config.ts : window.runMe = () => { console.log('clicked'); }; export const schedulerConfig = { columns : [ { text : 'Name', field : 'name', width : 130, htmlEncode : false, renderer(e) { console.log(e); return `<button onClick=&q...

Hmm, it works for me. What's different in your case?

before-events.gif
before-events.gif (821.26 KiB) Viewed 602 times
For 2 you only need to listen to https://bryntum.com/docs/scheduler/#Scheduler/feature/EventDrag#event-eventDrag event on scheduler. For example: const scheduler = new Scheduler({ listeners : { eventDrag(e) { console.log(e); } }, appendTo : 'container', resources : resources,

I could reproduce it and it is a bug. Thank you very much for reporting.

The ticket is here: https://github.com/bryntum/support/issues/3109

Have you installed them on Scheduler? They are implemented in feature but fired on owner, i.e. Scheduler.

Screen Shot 2021-06-28 at 12.08.05.png
Screen Shot 2021-06-28 at 12.08.05.png (162.45 KiB) Viewed 607 times

It seems to be a bug; I have created the ticket: https://github.com/bryntum/support/issues/3105

Thank you very much for reporting.

The matter is a little bit more complicated by the fact that the combo is not created until the editor is displayed for the first time so that we also need to wait with the installation of the listener until then. We need the following: Give the selectionField a https://bryntum.com/docs/scheduler/#C...
You have two drag objects in you code ( drag and eventDrag ) that conflict with each other. Scheduler timeline has both .b-timeline-subgrid and .b-grid-subgrid css classes so the dropTargetSelector selects both of them. To complicate the matter, there is the default eventDrag feature in play. It nee...
The problem here is that such button does not go through Angular engine but is only rendered as html by the browser. You could perhaps try to install onClick the html way: onClick="runMe()" Here are some other options of which the best would be to get the element of the img at runtime and ...
Replace content of App.js with the following code in Gantt/examples/frameworks/react/javascript/resource-histogram/src/App.js : /** * Application */ import React, { Fragment, useEffect, useRef, useState } from 'react'; import { BryntumGantt, BryntumResourceHistogram, BryntumDemoHeader, BryntumThemeC...