Good morning all,
I'm taking a look to the new Filter component, recently added to Telerik UI for Blazor.
I'm using it to build conditions to send to a custom SQL Query generator which will build the where clauses mapping from the export of the filter component.
At the moment I'm simply serializing the CompositeFilterDescriptor to JSON obtaining something like this:
{
"FilterDescriptors": [{
"Operator": 4,
"Member": "Quantity",
"Value": 25
}, {
"Operator": 1,
"Member": "Quantity",
"Value": 40
}, {
"Operator": 2,
"Member": "OrderShipCountry",
"Value": "France"
}, {
"FilterDescriptors": [{
"Operator": 17,
"Member": "OrderShipName",
"Value": "La maison d\u0027Asie"
}, {
"Operator": 18,
"Member": "OrderShipName",
"Value": "Victuailles en stock"
}
],
"LogicalOperator": 1
}
],
"LogicalOperator": 0
}
and I will have the Query Generator parse it, but if there are better strategies, please let me know.
Thanks, have a nice day.
PS: I tagged this question as General Discussion as it seems like a "Filter" tag is not available yet.
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.