Repro: Go to https://demos.telerik.com/blazor-ui/editor/overview and in the REPL demo change the demo to any of the dark themes and try to type. Nothing is visible because the text color is same as the control background (black).
Is there a way to either make the text color white, or make the background of the Editor control white, or anything else to make it usable when using a dark theme?
Hi,
I'm using a TelerikGrid to display some results and I'd like to let the user select the results he wants to keep on screen by having a button "Edit" that makes a checkboxColumn visible in order to select/deselect the items he wants to keep. Problem is :
This is my button declaration :<GridCommandButton Command="EditDisplayedResults" OnClick="OpenEditMode" IconClass="fa fa-edit"></GridCommandButton>
And this is its handler
protected async Task OpenEditMode()
{
editMode = true;
Console.WriteLine("Open Edit mode");
StateHasChanged();
}
Now when I click on the button the event is well triggered but the column doesn't appear directly after the Visible property is set to true. Even with the StateHasChanged is doesn't rerender the grid. The only way to make the column appear is by changing page. Is there a ay to rerender the grid in my case ? And if possible without having to reload the data because it takes some time...
Thanks in advance
Rémy
I want to disable Gantt tree editing. ie make the tree read only.
Any suggestions?
Depending if my folder is expanded or not I may want to display a different icon. Or I might want one of my leaf tree nodes should show a different look because of an external state change (e.g. IsDirty so add an asterisk to the text and make it red.)
Changing the bound IconClass property of the tree node doesn't update the tree.
If I update the property, I can't find a way to tell the tree to re-render that node.
My only working example is to reset the tree data with a new copy of the tree data list. However this looks very awkward in the example of a tree node expand/collapse. The node expands and then about a second later the icon changes to an open folder.
Any other options available?
-Andy


Strangest thing. I have a non-modal window control which contains a grid control. For some reason, the window appears to be docked to the right side of the form. I can move the window up and down but if I move it right or left, it just resizes the window width.
If I specify a width in px then it is fine. If I specify a width as a percentage then it is docked. Is there a way for the grid to configure the width so it doesn't dock but still takes 100% of the width?
I'm using TelerikListView component in Blazor app. I have a template defined with @onclick event and need to programmatically invoke the Edit command in that event. The reason is to show EditTemplate when the user clicks on the whole row, not just some button.
Thanks for help.
Hello Support Team,
I have a Item Template for my Treeview. I want to make the background color different for my selected item and let it stick. When the user selects another item, it should highlight that selected item and other items should look normal.
<TelerikTreeView Data="@DefectTreeView" @bind-ExpandedItems="@ExpandedItems" SelectionMode="TreeViewSelectionMode.Single" >
<TreeViewBindings>
<TreeViewBinding IdField="DefectCategoryID" ParentIdField="ParentID" TextField="DefectCategoryName" HasChildrenField="HasChildren" IconField="folder-open" >
<ItemTemplate>
@{
var item = context as DefectDefectCategory_TreeViewResultModel;
var chkenabled = false;
var chkvalue = false;
if (item.HasChildren == false && item.ChildrenCount == 0)
{
chkenabled = true;
<div style="padding-right: 4px;">
<TelerikCheckBox Enabled="chkenabled" Id="chkDelete" Title="Check to Delete Category" ValueChanged="@((bool value) => GetSelectedTreeItemsDelete(value,item.DefectCategoryID))" >
</TelerikCheckBox>
</div>
}
var itemname = item.DefectCategoryName.ToString() + " (" + item.ChildrenCount.ToString() + ")";
@itemname;
}
</ItemTemplate>
</TreeViewBinding>
</TreeViewBindings>
</TelerikTreeView>How do I set the css style to show the selected item.
Thank you.