S.No |
Query |
Syncfusion Comments | |
1
|
is it possible to display superordinate tasks (tasks with children) in bold by default?
|
Yes it is possible to render text in bold for parent tasks using QueryCellInfo event in grid side and LeftLabelTemplate in chart side. Please find the below code example.
| |
2
|
Is it possible to show all rows of a diagram without inline-scrollbars (e.g "AutoHeight 100%")?
|
Yes, it is possible to show all rows by setting auto to the Height property. Please find the below code example.
|
<style>
tr[aria-expanded] {
font-weight: bolder;
}
</style> |
2 | Is it possible to show all rows of a diagram without inline-scrollbars (e.g "AutoHeight 100%")? | Yes, it is possible to show all rows by setting auto to the Height property. Please find the below code example.
|
public SfGantt<GanttDisplayModel> MyGantt; protected override async System.Threading.Tasks.Task OnInitializedAsync() { var mymarker = new GanttEventMarker(); mymarker.CssClass = "e-custom-event-marker"; mymarker.Label = "Test"; mymarker.Day = "6/9/2020"; MyGantt.EventMarkers.Add(mymarker); }
S.No |
Query |
Syncfusion Comments | |
1
|
If the gantt is empty, there is only a very narrow dialog, with a tiny scrollbar, it's nearly impossible to enter data. "Auto" seems to work only, if there are already some tasks. |
We render dialog based on Gantt height. We can resolve this by work-around solution using OnActionComplete event with requesType openAddDialog.
| |
2
|
Dynamic Markers |
We can dynamically assign the event markers as like below code example.
Please find the below code example.
| |
3
|
When the underlying table on SQL-Server is updated (lets say a third person updates a progress-percentage or a taskname), how can we refresh the rendered Gantt without reloading the complete page? |
The edited value gets updated properly, if we remove the word and enter a new name.
We are able to reproduce this while editing the task name column, without removing the entire word. In this case, we cannot update the value on refreshing also. Is this the scenario you are facing this updating problem. If not, please share us the video for replication of this issue.
We will check and update you further details in one business day. Until then we appreciate your patience.
|
S.No |
Query |
Syncfusion Comments | |
1
|
Which Gantt events gets fired, when the Gantt-editor ("Task Information") is closed after pressing "Save" (BatchUpdate)?
|
OnActionBegin event gets triggered with requestType beforeSave, while pressing the save button and before dialog is closed.
OnActionComplete event gets triggered with requestType save, after dialog is closed.
| |
2
|
Is it possible to rearrange the order of the input fields and tabs (ID, progress, start/end date, baseline dates and duration)?
|
Yes, it is possible to rearrange/hide the input fields using GanttEditDialogFields property. Please find the below code example.
It displays in the order given in the Fields property.
| |
3
|
Hence all elements would be visible without the need for scrolling
|
We can achieve this overriding the CSS as like below code example.
| |
4
|
btw. why is there a floating format for the integer ID?
|
We contact the concerned team about this, and it was just a notation, not a decimal value. We can also prevent this by using Format property in Edit params as like below code example.
| |
5
|
Is it possible to implement a custom dialog-editor rather than your build-in one when double-clicking? In that case things would be more flexible. I've already designed a basic implementation (mytaskeditor.razor with taskId as a parameter), where I can modify the progress, works so far pressing a button outside of the Gantt-component and I was able to refresh the gantt on closing my dialog, too. |
Yes, it is possible to render custom dialog, by cancelling the default dialog. This can be one by using OnActionBegin event.
|
[Index.razor]
<style>
.parent-bold {
font-weight: bold;
}
</style>
public void QueryCellInfo(QueryCellInfoEventArgs<TaskData> args)
{
if (args.Data.HasChildRecords)
{
args.Cell.AddClass(new string[] { "parent-bold" });
}
} |
[Index.razor] .parent-bold { font-weight: bold; } public void QueryCellInfo(QueryCellInfoEventArgs { if (args.Data.HasChildRecords) { args.Cell.AddClass(new string[] { "parent-bold" }); } } |