When setting:
<SchedulerPopupEditSettings MaxHeight="600px"></SchedulerPopupEditSettings>
The height of the popup is larger than the browser window on a screen where the screen resolution is 3840x1600 and the browser is maximized. Moreover, there is no visible change to the height of the pop-up with or without the setting.
I also attempted to use the TelerikWindow as such:
<TelerikWindow Modal="true" Size="WindowSize.Medium" Visible="@CustomEditFormShown">
<WindowTitle>Playtest Data</WindowTitle>
<WindowActions>
<WindowAction Name="Close" OnClick="@RefreshData" />
</WindowActions>
<WindowContent>
@* This component is in the Pages folder *@
<PlaytestEditor Playtest="@CurrentPlaytest" OnPlaytestChanged="@RefreshData" />
</WindowContent>
</TelerikWindow>
Here's the whole thing:
<PageTitle>Playtest | Calendar</PageTitle>
<TelerikScheduler class="text-center mt-5"
@ref="@SchedulerRef"
Data="@Playtests"
@bind-Date="@DefaultDate"
@bind-View="@DefaultView"
OnUpdate="@UpdatePlaytests"
OnCreate="@AddPlaytest"
OnDelete="@DeletePlaytest"
OnEdit="@EditHandler"
ConfirmDelete="true"
AllowCreate="true"
AllowDelete="true"
AllowUpdate="true"
IdField="@(nameof(SessionModel.ID))"
RecurrenceRuleField="@(nameof(SessionModel.RecurrencRule))"
RecurrenceExceptionsField="@(nameof(SessionModel.RecurrenceExceptions))"
RecurrenceIdField="@(nameof(SessionModel.RecurrenceID))">
<SchedulerSettings>
<SchedulerPopupEditSettings MaxHeight="600px"></SchedulerPopupEditSettings>
</SchedulerSettings>
<SchedulerViews>
<SchedulerDayView WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" />
<SchedulerWeekView WorkDayStart="@WorkDayStart" WorkDayEnd="@WorkDayEnd" />
</SchedulerViews>
</TelerikScheduler>
<TelerikWindow Modal="true" Size="WindowSize.Medium" Visible="@CustomEditFormShown">
<WindowTitle>Playtest Data</WindowTitle>
<WindowActions>
<WindowAction Name="Close" OnClick="@RefreshData" />
</WindowActions>
<WindowContent>
@* This component is in the Pages folder *@
<PlaytestEditor Playtest="@CurrentPlaytest" OnPlaytestChanged="@RefreshData" />
</WindowContent>
</TelerikWindow>
Is there a way that I can loop through the Columns of the Gnatt chart to access the attributes on the code behind?
For example, I want to see if Column D has been moved or hidden.
The closest thing I can see if GanttColumns but I cannot look through it because it is a RenderFragment?
var columns = Ref.GanttColumns;
I saw on the object ColumnsCollection which is ideal but it's not a public attribute for me to query it.
Any ideas?
As you cas see from the sample below, i have a grid with row filter.
In the FilterCellTemplate i use a custom component named DateFilterCell.
In DateFilterCell i show a TelerikDatePicker.
When i run this sample and try to set the datepicker value from the calendar, the value does not bind.
What's wrong?
Thanks
https://blazorrepl.telerik.com/GfEFHkFA35AZCMp451
I have a paged TelerikGrid loaded using OnRead event with 2 filter modes: Inline and programmately.
With inline filter i manage a FilterCellTemplate and call FilterCellTemplateContext.FilterAsync() to refresh the grid after setting the filter value.
If i set a filter programmately, to update the grid i call Grid.Rebind(), but i need to set the grid to page 1, so i need to set the Page property binding to 1 before calling Grid.Rebind.
There is a better way to refresh the grid for filtering programmately? the best would be a method to call (as done with FilterCellTemplateContext.FilterAsync()) who manage the page reset.
Thanks
Hello!
I want to export Blazor grid content to CSV and make some changes before export. This example works fine with GridCommandButton
Blazor Grid Export Export Events - Telerik UI for Blazor
I want to use a standard button instead of GridCommandButton.
<Button ..
OnClick="ExportGridData">
Export
</Button>
internal void ExportGridData() { gridRef?.ExportToCsv(); }
My issue is, executing ExportToCsv does not trigger OnBeforeExport. Is there a way to trigger OnBeforeExport when calling ExportToCsv() from a button click event?
Thank you.
Hello,
We recently upgraded to Telerik v7.0 for our controls and since then expanding a single item always expands all items. Has anyone else run into this or does anyone know a workaround?
Does anyone know if there is a way I can export Blazor Gannt to excel?
At this rate I would take anything I can get? (Data and/or timeline)
Hi!
I'm using the FileSelect component. When accessing the data, it's of type FileSelectFileInfo, which has a stream of type FileInfoStream, which is disposable.
So, do I have to dispose it after having read the data?
Lots of Greetings!
Volker