Scheduler resource cell customization

4 Answers 195 Views
Scheduler
Matúš
Top achievements
Rank 1
Iron
Matúš asked on 08 Mar 2023, 09:34 AM

Hello,

I would like to ask if it is possible to customize reasource cell in Timeline view in Scheduler control. I would like to show user specific icon and multiline text,

I found similar question from 2020 (https://www.telerik.com/forums/scheduler-customization-questions), did you already implement such a  functionality?

Thanks

Matus

4 Answers, 1 is accepted

Sort by
1
Accepted
Wissam
Telerik team
answered on 10 Mar 2023, 04:21 PM

Hello, Matúš,

Thank you for the provided screenshot.

I understand that you want to customize the group header cell. Is this correct? If this is the case, you can set the `text` of the resource item to HTML elements and render multiline text or an icon depending on what you need. Moreover, to customize the group header cell's CSS styles, you can set a className to HTML content, get the reference in a `React.useEffect`, and add a custom class to its parent which is the header cell:

In addition, we have a feature request to implement this feature but it is currently in an unplanned stage. I added a vote on your behalf to increase its priority, you can track it here:

I hope this helps, but please let me know if you have any further questions.

Regards,
Wissam
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Wissam
Telerik team
answered on 09 Mar 2023, 01:19 PM

Hi, Matúš,

Yes, it is possible as this feature was added in version `4.2.0`.

Basically, you can provide a custom Form Editor and render the desired content of your choice:

Please check let above example, and let me know if you have any further questions.

For more information on customizing the Scheduler Form and Editor, you can check the following articles:

Regards,
Wissam
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Matúš
Top achievements
Rank 1
Iron
answered on 10 Mar 2023, 06:55 AM

Hi Wissam,

thanks for answer, but probably my question was not clear. I know that it is possible to change editors in form, but I would like to customize resource cell in the scheduler timeline view (see attached image). Is this possible to add an icon or set multiline text?

Regards,

Matus

0
Matúš
Top achievements
Rank 1
Iron
answered on 14 Mar 2023, 09:03 AM

Hi Wissam,
thank you for your answer, I was able to customize group header cell according your example.

Regards,
Matus

Wissam
Telerik team
commented on 14 Mar 2023, 10:16 AM

You are welcome, Matúš! I am glad that my reply was helpful to you.
Tags
Scheduler
Asked by
Matúš
Top achievements
Rank 1
Iron
Answers by
Wissam
Telerik team
Matúš
Top achievements
Rank 1
Iron
Share this question
or