Telerik Forums
UI for Blazor Forum
1 answer
400 views

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. You can see my previous question (edited after i figured out a way) here: 
https://www.telerik.com/forums/how-to-use-the-new-filter-component-to-create-an-sql-query

The main reason I'm writing you is because I need to add custom items in the list of operators.
Specifically to check an Item against a list, but it's irrelevant I just need an operator that would then be interpreted by the QueryBuilder, I don't need to integrate with other telerik components.

Can I extend some of Telerik classes to implement the functionality I need? Is there any way?

If this is possible in any other way, can you point me in the right direction?

 

Thank you very much

PS: I tagged this question as General Discussion as it seems like a "Filter" tag is not available yet.

Have a nice day!

 

FB


Thanks, have a nice day.

Joana
Telerik team
 answered on 08 Mar 2022
1 answer
331 views

I have 2 listviews on a single page.

On one the items are displayed in a single column... one per row.

On the second the items are displayed as a grid.  Per the ListView template demo this is done by overriding the k-listview-content class:

.k-listview-content { display: grid; grid-template-columns: repeat(auto-fill, 180px); gap: 30px 20px; }

On that page that screws up the other listview.

Is there a different way to achieve this?

Andy

Marin Bratanov
Telerik team
 answered on 06 Mar 2022
1 answer
244 views

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.

Marin Bratanov
Telerik team
 answered on 06 Mar 2022
1 answer
203 views
I saw the FloatingActionButton Web control available in KendoUI and ASP.NET Core.  Is the FloatingActionButton coming to UI for Blazor?
Marin Bratanov
Telerik team
 answered on 06 Mar 2022
1 answer
893 views

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?

Svetoslav Dimitrov
Telerik team
 answered on 02 Mar 2022
0 answers
145 views

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

Rémy
Top achievements
Rank 1
 asked on 02 Mar 2022
3 answers
214 views

I want to disable Gantt tree editing. ie make the tree read only.

Any suggestions?

Benjamin
Top achievements
Rank 2
Iron
 answered on 02 Mar 2022
1 answer
136 views

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

Dimo
Telerik team
 answered on 02 Mar 2022
1 answer
179 views
Is there a way for sort to just alternate between ascending and descending? Currently if you keep clicking, it has a 3rd state of no sort which is never a state we want. If the answer is use OnStateChange, I can just do that then.
Dimo
Telerik team
 updated answer on 01 Mar 2022
0 answers
181 views

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?

 

John
Top achievements
Rank 1
Iron
 asked on 28 Feb 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?