[REACT] How to change taskbar color on hover and row selection (which method calling on row selection)
Posted: Fri Sep 24, 2021 3:21 pm
by sagars92
Hello, Mats and Bryntum team,
How to change taskbar color on row selection and other styling and which method calling on row selection.
Also how change style on hover(renderData.style) or any other option?
Row-selection.png (18.9 KiB) Viewed 652 times
Our component version: 4.2.1
Browser version, OS: Google Chrome: Version 92.0.4515.159 (Official Build) (64-bit)
Windows 10
Thanks in advance.
Re: [REACT] How to change taskbar color on hover and row selection (which method calling on row selection)
Posted: Fri Sep 24, 2021 4:19 pm
by sagars92
Anyone can help
Re: [REACT] How to change taskbar color on hover and row selection (which method calling on row selection)
Posted: Mon Sep 27, 2021 8:25 am
by sagars92
@Mats and @Bryntum team
Re: [REACT] How to change taskbar color on hover and row selection (which method calling on row selection)
Posted: Mon Sep 27, 2021 9:11 am
by mats
How to change taskbar color on row selection and other styling and which method calling on row selection.
is there any opportunity to change hover style within eventRenderer() method in renderData.style? For my app hover color depends on data which I can access in eventRenderer () method and also I would like to keep all styles related to event bar in one place
my current piece of code and I need smth similar but for hover
Re: [REACT] How to change taskbar color on hover and row selection (which method calling on row selection)
Posted: Tue Jun 27, 2023 12:10 pm
by cokguzel
taskRecord.cls.add('new-cls');
adding class like this works only for events which are in the view at the moment of initialization. If I scroll scheduler (I'm working with scheduler and virtual scrolling) then this class isn't added to the events which I see after scrolling
Re: [REACT] How to change taskbar color on hover and row selection (which method calling on row selection)