Hi,
I am using telerikgrid control to present my data on the page.
I am using a header GridCheckboxColumn to select the rows. I want to put a condition so that some rows cannot be selected (disabled for selection).
Please can someone provide some solution for this requirement.
Thanks,
Afreen
Hi,
I am using the TelerikGrid control to present the data.
I am also using a TelerikGridCheckboxColumn which is bind to a IEnumerableList. I want to disable header checkbox when all the values of IsSelected property in the list are false.
How can I do that?
Thanks,
Afreen
您是否有类似于图片中显示的功能?“路由重复使用多个标签页。”

Using blazor server with latest Telerik Blazor package (currently 4.1.0).
I created a very simple CustomDropDownList.razor file with the following:
@typeparam TItem @typeparam TValue @inherits TelerikDropDownList<TItem, TValue>
and attempted to use the new component in a page:
@page "/test"
<CustomDropDownList Data="testData" @bind-Value="value" />
@code {
int? value = null;
private List<Model> testData = new List<Model>()
{
new Model() { Id = 1, Text = "Item 1" },
new Model() { Id = 2, Text = "Item 2" }
};
class Model
{
public int? Id { get; set; }
public string Text { get; set; }
}
}
I get the javascript error:
Cannot read properties of null (reading addEventListener)
I'm aware you have a page regarding this error, but it only suggests making sure telerik-blazor.js file is up to date. Mine is.
Now, if I define the same component in a .cs file instead of a .razor file, the scenario works fine:
public class CustomDropDownList<TItem, TValue> : TelerikDropDownList<TItem, TValue>
{
}REPL with error (using .razor file): https://blazorrepl.telerik.com/GRaoFuvr00aqKiQq27
REPL that works (using .cs file): https://blazorrepl.telerik.com/wHkyFubg58jPmb8D40
So what is going on here?
Ultimately, I'm trying to inherit from TelerikDropDownList to encapsulate a reusable custom dropdown. I have done this with .cs files a number of times with no problem, but in this case I was wanting to define an ItemTemplate and it's much more practical to do .razor file - that's when I discovered this issue.

Is there a way to do in form editing in Telerik Grid for Blazor(TelerikGrid) like the one shown here for Telerik RadGrid?
<TelerikGrid Data="@GridRowItems">
<GridColumns>
<GridColumn Field="@nameof(GridRowItem.Name)"></GridColumn>
@{
var gridRowItem = context as GridRowItem;
foreach (var childField in gridRowItem.ChildFields)
{
<GridColumn Title="@childField.Name">
<Columns>
<GridColumn Field="@nameof(childField.Value1)"></GridColumn>
<GridColumn Field="@nameof(childField.Value2)"></GridColumn>
</Columns>
</GridColumn>
}
}
</GridColumns>
</TelerikGrid>
class GridRowItem{
string Name;
List<ChildField> ChildFields;
}
class ChildField{
string Name;
double Value1;
double Value2;
}The background of the predefined dialog box appears transparent.

Hi,
Like Subject above, when I Debug code, my scrollbar change to default browser scrollbar (Image Scrollbar1.jpg)
When i press F12 to go to Developer mode, it changes to normal - Telerik scrollbars. Its shadow and it is hard to look little bit (Image Scrollbar2.jpg).
I dont know why its happen. And it happended a couple days ago.
Browsers that I used to check: Edge, Firefox and Chrome and had same issue.
Thank you for your help.