Completed
Last Updated: 03 Feb 2022 07:06 by ADMIN
Release 3.1.0
Benjamin
Created on: 02 Nov 2021 13:19
Category: Gantt
Type: Feature Request
2
EditorTemplate for GanttColumn

When I describe a EditorTemplate on a GanttColumn, I expect it to be shown on entering the edit-mode:

<GanttColumn Field="@nameof(ActivityContainer.TaskName)" Title="@_["_name"]" Expandable="true" Resizable="true" >
<EditorTemplate>
<strong>I expect this to see</strong>
</EditorTemplate>
</GanttColumn>

Expected: Just the string "I expect this to see"

What I actually get:

The default edit box (feels like the EditorTemplate doesn't apply at all?)

Docs (https://docs.telerik.com/blazor-ui/api/Telerik.Blazor.Components.GanttColumn#collapsible-Telerik_Blazor_Components_GanttColumn_EditorTemplate) say, that the GanttColumn has a EditorTempalte.

---

Side effect:

<GanttColumn Field="@nameof(ActivityContainer.TaskName)" Title="@_["_name"]" Expandable="true" Resizable="true" >
<EditorTemplate>
<strong>@((context as ActivityContainer)?.TaskName)I expect this to see</strong>
</EditorTemplate>
</GanttColumn>

error CS0103: The name 'context' does not exist in the current context

 

Context should be there.

3 comments
ADMIN
Nadezhda Tacheva
Posted on: 17 Nov 2021 09:43

Hi Benjamin,

Indeed, it looks that the parameters that are decorated with HideFromApiRef are still visible in the documentation. I will check further and update it, so they are hidden for the moment.

I suppose that with "the read-only parameter" you are referring to the Editable parameter of the columns which is available for the Grid but not yet for the Gantt component. I agree that this is a must have feature. We've recently had discussions with our development team and Product Manager regarding multiple Gantt enhancements. As we see the component is gaining popularity and the demand grows we are preparing Gantt-focused releases for January and February 2022, including editing enhancements and templates as first steps. You can also check the recently opened requests for the Gantt in the public feedback portal. We will be working on our planning in the next couple weeks and afterwards we will have more clarity on the exact releases the corresponding features could be plugged in.

The best way to keep in track with the progress of the features you are interested in is to follow them, so you can receive email notification when their status changes. Once a feature is scheduled for certain release we will update its status in the feedback portal and you will be notified via email accordingly.

Regards,
Nadezhda Tacheva
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/.

Benjamin
Posted on: 10 Nov 2021 12:46

Ok, but then it shouldn't be in the documentation either. The fact, that Gantt-data are bound to the actual Enumerable AND the missing read-only is a SEVERE issue and should be prioritized imo. The effort is tiny (passing through the readonly parameter to the Inputs), but we cannot do this because of the lack of source code availability.

Maybe you can have a second look / discussion with your developers on this topic?

ADMIN
Nadezhda Tacheva
Posted on: 09 Nov 2021 09:20

Hello Benjamin,

EditorTemplate is not yet implemented in the Gantt component, so generally speaking it should not be exposed in the public API at all. I have notified our development team to hide it along with a couple other properties that were exposed but not yet supported. Please accept my apologies for the caused inconvenience.

As EditorTemplate is something that we would support in future, I am leaving this post open, so you can track its progress - as creator of the initial post, you will be notified via email on status changes. I will switch it to a feature request and mark its status as "Unplanned" indicating this is a valid feature that will be scheduled for implementation in future version of the product.

Regards,
Nadezhda Tacheva
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.