Hello,
Is there a way to make the ChartPlotArea in an alternating way?
Example: That every 2nd row is white
Thanks
Regards,
Nikolas
After upgrading to version 3 we now always get the clear filter button in our filter row
Before the upgrade this button would only show up after we typed something in the filter, now it is always there even when the filter is empty.
Is there a way to return to the old behaviour?
Kind Regards
Dimitri
Hello, I have a rather long list of items (> 400) that users will multiselect from.
I was hoping the TelerikMultiSelect control would work for this, as it's the only Blazor control I've found so far that comes close to providing the required functionality.
However, it doesn't seem to be rendering properly, and it doesn't provide a way to scroll beyond one page worth of data.
First of all, it only draws the "drop down" for 8 items, even though the list renders far beyond the drop down, causing a poor visual rendition of the list. This is just a snippet, as the list goes down beyond the bottom of the browser page:
The component should know how long to render the "drop down" based on the number of items in the list? I tried setting a MinHeight, which increased the length of the list, but that only changed where the visual cutoff occurs, as it still cuts off.
Secondly, there's no way to scroll beyond one page worth. When the control scrolls off the page in the browser, the list collapses, making it impossible to scroll even to the 'Bs'.
I think I can make this work by making use of filters and setting the MinHeight so that it extends beyond the controls below it, however this doesn't seem like the right way to do it.
I'm open to other ideas.
Thanks!
Hi,
I have a grid and upon editing, the user would need to be able to select only from certain items to some of the columns. For this, I would need to use a drop down list, listing the respective items.
Anyone knows how would I be able to incorporate drop down lists in the PopUp editor please?
Thanks!
Astig
Hi,
I am trying to filter items from code and get this error:
cannot implicity convert type 'system.collections.generic.list<telerik.datasource.filterdescritptorbase>' to 'system.collections.generic.icollection<telerik.datasource.ifilterdescriptor>'>
Please see code below:
private async Task FilterByNameAndWritter()
{
List<FilterDescriptorBase> filterDescriptorBases = new List<FilterDescriptorBase>();
filterDescriptorBases.Add(new FilterDescriptor() { Member = "Name", Operator = FilterOperator.Contains, Value = Name, MemberType = typeof(string) });
filterDescriptorBases.Add(new FilterDescriptor() { Member = "Writter", Operator = FilterOperator.Contains, Value = Writter, MemberType = typeof(string) });
GridState<BookDto> gridState = new GridState<BookDto>();
gridState.FilterDescriptors = filterDescriptorBases; // the error comes from here
await BookGrid.SetState(gridState);
}
The component can bind to a DateTime variable.
The expected behaviour is that only the time part is updated, so that the actual date is preserved.
For instance if I want to want to let the user set a time for an appointment tomorrow, the appointment should not move to today because the time was changed
Unlink TelerikButton's, ToolbarButton's do not have a ThemeColor, so cannot change their colour like you could a normal button.
This is really an issue as of 3.0.0, not before I should note.
Hi,
I've migrated my project to version 3.0 and I've issue with row virtualization.
Before migration virtualization was working fine.
<TelerikGrid
Data=@_items
TotalCount=@_browseDataManager.TotalCount
OnRead=@ReadItems
PageSize="10"
Height="100%"
RowHeight="40"
Pageable="false"
Sortable="true"
ScrollMode="GridScrollMode.Virtual">
<GridColumns>
<GridColumn Field="@(nameof(UnitOfMeasureDTO.Code))" Title=@_localizer["Form_UnitOfMeasure_Code"] Width="100px" Locked="true" />
<GridColumn Field="@(nameof(UnitOfMeasureDTO.ShortName))" Width="200px" Title=@_localizer["Form_UnitOfMeasure_ShortName"] Locked="true"/>
<GridCommandColumn Width="150px" Context="UnitOfMeasureCommands">
<GridCommandButton OnClick="@((args) => Edit(args.Item as UnitOfMeasureDTO))" Icon="edit"></GridCommandButton>
<GridCommandButton OnClick="@((args) => Delete(args.Item as UnitOfMeasureDTO))" Icon="delete"></GridCommandButton>
</GridCommandColumn>
</GridColumns>
<GridToolBar>
<GridCommandButton OnClick="@(() => Create())" Icon="add">@_localizer["Title_Crud_Add"]</GridCommandButton>
</GridToolBar>
</TelerikGrid>
protected async Task ReadItems(GridReadEventArgs args)
{
_browseDataManager.CurrentSkip = args.Request.Skip;
_browseDataManager.CurrentPageSize = args.Request.PageSize;
await GetDataAsync();
IsBusy = false;
}
I've noticed that parameter TotalCount has removed from grid control.
<TelerikGrid
Data=@_items
OnRead=@ReadItems
PageSize="10"
Height="100%"
RowHeight="40"
Pageable="false"
Sortable="true"
ScrollMode="GridScrollMode.Virtual">
<GridColumns>
<GridColumn Field="@(nameof(UnitOfMeasureDTO.Code))" Title=@_localizer["Form_UnitOfMeasure_Code"] Width="100px" Locked="true" />
<GridColumn Field="@(nameof(UnitOfMeasureDTO.ShortName))" Width="200px" Title=@_localizer["Form_UnitOfMeasure_ShortName"] Locked="true"/>
<GridCommandColumn Width="150px" Context="UnitOfMeasureCommands">
<GridCommandButton OnClick="@((args) => Edit(args.Item as UnitOfMeasureDTO))" Icon="edit"/>
<GridCommandButton OnClick="@((args) => Delete(args.Item as UnitOfMeasureDTO))" Icon="delete"/>
</GridColumns>
<GridToolBar>
<GridCommandButton OnClick="@(() => Create())" Icon="add">@_localizer["Title_Crud_Add"]</GridCommandButton>
</GridToolBar>
</TelerikGrid>
Error
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.Blazor.Components.Grid.GridRowCollection`1[[Hyperion365.Web.Shared.DTOs.UnitOfMeasureDTO, Hyperion365.Web.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].BuildRenderTree(RenderTreeBuilder __builder) at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)