Continuing with our promises for 2021 roadmap delivery, this month Telerik UI for Blazor brings the Gantt Chart UI component, as well as multiple new features to the Grid, TreeList, Scheduler, Pager and more!
Let’s deep dive in the August 2021 release to find out more about the full 2.26.0 content, which you can plug and play in your Blazor Server and WebAssembly apps!
The Gantt is a well-known tool that is heavily used in project and task management applications, process execution and monitoring, and task scheduling—to name a few. While the initial plan was to deliver the Gantt Chart in September 2021, due to the growing demand for the component in Blazor applications, we did some rescheduling and managed to ship its v1 with the current release of Telerik UI for Blazor 2.26.
The Telerik Gantt for Blazor consists of two main parts which visualize the same set of data in two modes side by side—hierarchical tree list structure and a visual timeline. Even though this is first release of the Telerik Gantt UI control for Blazor, we made sure it includes a long list of essential built-in features such as: binding to flat and hierarchical data, predefined task types, multiple Gantt views, sorting, filtering, editing, task tooltips and templates.
By using the multi-release approach we hope to unlock the possibility for you to start developing your apps immediately and at the same time ensure you receive another solid set of features in just a few weeks with Telerik UI for Blazor 2.27 release in September.
Telerik UI for Blazor Gantt Chart UI Component
The timeline part of the Gantt component offers four built-in predefined views which define the granularity of the time slots:
For each of the views you can configure the slot width, start and end dates of the time interval.
The Gantt chart can be bound to flat or hierarchical data. The data binding mode is determined by parameters associated with a hierarchy (task parent, id and flag defining children).
By setting the Telerik Gantt Sortable parameter to "true" users can easily order data by clicking on the column headers.
The Gantt offers various way to filter data—you can enable filter row which will appear right underneath the column header row.
You can also enable column filter menu which let users filter data as by adding one or more operand.
Telerik UI for Blazor Gantt Chart Filter Menu
Alternatively, you can configure the Gantt column filter menu to display a list with checkboxes and a search input box for easy discoverability of the available filter by values.
The Gantt toolbar allows you to organize common user actions in a neat, convenient way. It comes with built-in command for adding new tasks, and an option to add other common custom actions.
For proper visualization of tasks, the Telerik Gantt component for Blazor requires some of its data fields to be mandatory:
Additionally, your models can provide the following optional data:
Following the needed tasks types for managing projects, the Gantt component offers three different types:
The Gantt is smart enough to determine the type of task based on the provided values of the data items. For example:
The Gantt component allows editing of tasks in both parts of the components—the TreeList and the TimeLine.
Telerik UI for Blazor Gantt Chart InCell Editing
Users can edit data in the tree list by clicking a task and typing in directly new input values in the corresponding cells (Blazor Gantt Chart InCell editing).
In the timeline section of the Gantt, users can perform edits through drag-and-drop operations—moving and resizing tasks, changing PercentComplete through a dedicated drag handle, etc. Just like in the TreeList section, a double-click on a task element will open the pop-up editor for advanced editing.
Using the Gantt Chart templating feature, you can render custom content for regular tasks in the timeline section. This allows you to visualize images and custom formatting directly in the task slot.
Telerik UI for Blazor Gantt Task Custom Content
In case you want to keep the task slot in the timeline concise but still need to display additional information about a Gantt task, you can do so in the tooltip component shown when hovering over a task in the Gantt timeline section. The tooltip also provides a template option that allows you to render custom content.
Telerik UI for Blazor Gantt Tooltip Template
Next month with Telerik UI for Blazor 2.27 release you can expect the second set of Gantt features including:
The new Grid “no data” template feature will let you show custom content going beyond the default “No data” message when the grid has no data to show. If you need to render images, styled text or even other components simply place it within the tags <NoDataTemplate></NoDataTemplate> in the Grid.
Telerik Blazor Grid Component—No Data Template
By setting the new ConfirmDelete property of the Grid to true, you can add an extra step in the data deletion process and show a delete confirmation dialog as a better styled alternative to the built-in browser capability.
Telerik Blazor Grid Component—Delete Confirmation
All of the above-mentioned features for the Grid component have also been implemented in the TreeList, namely:
In late June, we shipped built-in resource grouping functionality for the Telerik Blazor Scheduler UI, and this month we added several new features:
Telerik UI for Blazor Scheduler Date Header Template
More good news about the Scheduler—in our upcoming release we plan to add more features and improvements such as Timeline View and ContextMenu event.
The new feature gives built-in flexibility to adjust the number of shown records per page. By setting PageSizes property to a collection of values, the Telerik Pager for Blazor renders a dropdown list with corresponding page size options. Choosing a value from the dropdown will change the page size in the pager. You can also show “All” item in the dropdown list by passing null element to the page size element collection.
Telerik Blazor Pager—Records per Page DropDownList
In addition to using buttons to navigate the pager component, we also added a handy input option that allows users to type a numeric value and navigate to the respective page. This can be achieved by setting the Pager InputType parameter to either buttons or numeric input.
Telerik Blazor Pager—Go To Page Input
Because internally we integrate the Pager UI component in our Grid, TreeList and ListView Blazor components, we made sure that they received all new Pager settings improvements as well. To take advantage of them, you can configure them as follows:
<
GridPagerSettings
InputType
=
"@PagerInputType.Input"
PageSizes
=
"@PageSizes"
/>
<
GridSettings
>
<
GridPagerSettings
InputType
=
"@PagerInputType.Input"
PageSizes
=
"@PageSizes"
/>
<!-- OR -->
<
GridPagerSettings
InputType
=
"@PagerInputType.Butons"
PageSizes
=
"@PageSizes"
ButtonsCount
=
"10"
/>
</
GridSettings
>
<
TreeListSettings
>
<
TreeListSettings
InputType
=
"@PagerInputType.Input"
PageSizes
=
"@PageSizes"
/>
<!-- OR -->
<
TreeListPagerSettings
InputType
=
"@PagerInputType.Butons"
PageSizes
=
"@PageSizes"
ButtonsCount
=
"10"
/>
</
TreeListSettings
>
<
ListViewSettings
>
<
ListViewPagerSettings
InputType
=
"@PagerInputType.Input"
PageSizes
=
"@PageSizes"
/>
<!-- OR -->
<
ListViewPagerSettings
InputType
=
"@PagerInputType.Buttons"
PageSizes
=
"@PageSizes"
ButtonCount
=
"7"
/>
</
ListViewSettings
>
Try out the latest from Telerik UI for Blazor and let us know what you think!
Maria Ivanova is a Manager of Product Management at Progress, for Telerik and Kendo UI components and developer tooling. She joined the company in 2019 as a Product Manager for Telerik UI web components and is passionate about developing impactful and innovative software products. Maria believes that to create great products, it's important to challenge the status quo, closely collaborate with customers, and embrace a spirit of experimentation. Follow her on Twitter or LinkedIn.