Telerik Forums
UI for Blazor Forum
1 answer
965 views

just a basic list as a data source:

public List<Feature> Features { get; set; } = new List<Feature>();

as simple as I can make the Grid:

<TelerikGrid Data="@Features" Sortable="true">
    <GridColumns>
        <GridColumn Field="Qty" />
    </GridColumns>
</TelerikGrid>

And an event to add features:

void AddFeature()
{
    Features.Add(new Feature() { Qty = 1 });
}

 

I can add the features just fine, but nothing shows in the grid until I sort, then it is all there - what am I missing?

8.5.2
Nadezhda Tacheva
Telerik team
 answered on 24 Nov 2020
1 answer
789 views

Hello,

Sorry if this has already been asked, but I couldnt find a topic on that subject.

I would like to know if it's possible to validate for a duplicate value for a field when submitting an add/edit of a record in a grid (popup edit) and return an error in the form to inform the user that the value is already used.

I am able to do it in the appropriate handle after the submit but i can't seem to prevent the form to close and to display an error message to the user.

Thanks!

Nadezhda Tacheva
Telerik team
 answered on 24 Nov 2020
1 answer
598 views
Can you apply an OR condition on 2 column filters, or programmatically set the filter value for the GridSearchBox ?
Nadezhda Tacheva
Telerik team
 answered on 24 Nov 2020
7 answers
263 views
I am using a Combobox (probably the same for all editors) and it is auto assigned the k-state-valid class upon creation. I would like to have this class only be assigned once the Forms Validate method is called. Is there a way to do this?
Marin Bratanov
Telerik team
 answered on 24 Nov 2020
1 answer
146 views

Hi guys,

Is there a possibility in incell edit mode, on edit, when a text/numeric input shows up, from the EditTemplate, it's text to be selected by default?

What I want to achieve is the following: in a numeric input we have the default value of zero. I want that value to be selected as when the user does a copy+paste in the input that value will be overwritten. If it's not selected the cursor appears after that value so when the user does a copy+paste then the new value will be concatenated with the value that was present in the input before the copy+paste, which is an issue that I don't want to achieve.

 

I hope you understood what I want to achieve.

Best regards,

Cipri

Marin Bratanov
Telerik team
 answered on 24 Nov 2020
1 answer
250 views

Is is possible to add a trend line / linear regression to the Blazor charts like Excel?

See it is available in the kendo charts (https://docs.telerik.com/kendo-ui/knowledge-base/chart-add-trend-line).

Also found the old 2015 knowledge base article (https://www.telerik.com/blogs/how-to-plot-a-simple-linear-regression-in-telerik-asp.net-web-form-chart)

Marin Bratanov
Telerik team
 answered on 24 Nov 2020
1 answer
729 views

To give some background, I'm looking at this from the perspective of using the grid in a similar fashion as Excel.

My users will click on a cell in the row and then from there navigate via the keyboard or mouse.

If you go to the Grid - Incell Editing demo page and click into the first editable column (Weight) and then hit tab, the focus leaves the grid entirely (not desireable).  Also, if you are in the Weight field and mouse click into the field immediately to the right (Color) the current active cell flashes but then stays in focus.  It's a bit of a mess.  My intent is to have a grid that expert users can navigate quickly using the keyboard with little mouse input.  

Is Inline editing a better option?  Can I leverage a row-click event to bring the row in edit mode?  Can navigating away from the row trigger an automatic update? Or what about hitting tab in the last editable cell?  Can we have it automatically add a new row and enter edit mode on the new row?

The users would revolt against having to click and Edit button and a Save button on each row.

 

Marin Bratanov
Telerik team
 answered on 24 Nov 2020
3 answers
480 views

Hello, I'm having trouble getting nested grid and or column sizes to work.
If we use this as our example: https://docs.telerik.com/blazor-ui/components/grid/hierarchy

The nested grid, DetailTemplate, when expanded fills the row space as defined by the parent grid.

Even if I add Width parameters to the  DetailTemplate Grid and GridColumn controls the DetailTemplate Grid and columns still fill the row space.

Looks funny to me to have the OrderId and DealSize columns in the DetailTemplate to be so large.
Is it possible to size the DetailTemplate Grid and column more appropriatly?

Thanks

Marin Bratanov
Telerik team
 answered on 23 Nov 2020
18 answers
1.6K+ views
Hi there! My project is a fullstack Blazor application - server, client and shared projects. On my server project I have some custom logic for paging that I want to use in my Telerik Grid. My question is how am I supposed to use my server side paging instead of the built-in one in the TelerikGrid. The issue is that I want to send a request to the Server project(WebAPI) and pass some parameters to it(ex. page=2, limit=10). I get the parameters from the url(ex. "http://localhost:5000/api/Forecasts?Page=2&Limit=10") so I can send different request for every single page(I have large data source). Is there a way I can integrate my server-side paging logic with your TelerikGrid for Blazor?
Thank you in advance!
Marin Bratanov
Telerik team
 answered on 23 Nov 2020
1 answer
1.6K+ views

I've created a simple dashboard using the Dashboard Project Template and was wondering what's the best approach to having the dashboard update either on a timed basis or data being updated?

Should each Blazor Component handle it's own refresh or should we look at doing this at layout level?

 

Cheers

 

Marin Bratanov
Telerik team
 answered on 23 Nov 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?