Telerik Forums
UI for Blazor Forum
0 answers
106 views
Hello!
Can't find property to change label format for value axis.
Is only the currency format supported?
Please do not limit the use of this component due to such an annoying limitation.
Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 02 Jan 2023
1 answer
140 views
Hello!
Let's look at simpe line chart


Next look at stock line chart


How to make left and right chart area paddings to first and end points?
Current view is very bad...
Stamo Gochev
Telerik team
 answered on 02 Jan 2023
1 answer
145 views
I am performing an upgrade from 2.29 to 3.7.  I'm working through some breaking changes listed here regarding grids.  During this process, I noticed that we're only a few weeks away from the 4.0 release.  

Do we know yet what breaking changes might be part of this release and when that info will be posted?  
Stamo Gochev
Telerik team
 answered on 02 Jan 2023
0 answers
154 views

Hello!
It is possible to change appearance settings for line' markers?
Need to change at least the size and thickness of the border.
The current settings look bad with a sufficiently large amount of data (1-100)
Especially since it is planned to connect several data series - everything will merge into a heap.
And in second - it would be great to implement an event to change the width of the navigator span.

In the current view, redrawing the chart resets the From - To values to the original ones, which is inconvenient.

Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 30 Dec 2022
0 answers
65 views
Regardless of property value
<StockChartNavigatorSelectMousewheel Enabled="false" />
When the mouse wheel is rotated on the chart area, the StockChartNavigatorSelect area is zoomed.
Ivan
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 29 Dec 2022
1 answer
532 views
Is it possible to use Google Maps in radmap?
Tsvetomir
Telerik team
 answered on 28 Dec 2022
1 answer
121 views
Is that behaviour by design?
Tsvetomir
Telerik team
 answered on 27 Dec 2022
1 answer
374 views

I am trying to make the add a new row in my grid work the same as in the demo below but am not able to get the new row to be at the top of the grid and in edit mode as the demo does.  Grid Incell editing Demo

The data is being retrieved from an OData endpoint.

When I click the add button a new record is created in the database and the grid refreshes, but I need to have that row be given the focus and be in edit mode. I would also like it at the top of the grid for editing as the demo does.

Why is my code not working as the demo does? What do I need to change to get it working like the demo?

My razor page:

<TelerikGrid
    SelectionMode="@GridSelectionMode.Single"
    TItem="@WarningVM"
    OnRead="@ReadWarnings"
    EditMode="@GridEditMode.Incell"
    OnUpdate="@UpdateHandler"
    OnEdit="@EditHandler"
    OnCreate="@CreateHandler"
    OnCancel="@OnCancelHandler"
    Resizable="true"
    Reorderable="true"
    PageSize="15"
    Navigable="true"
    Pageable="true"
    Sortable="true"
    FilterMode="@GridFilterMode.FilterMenu">
    <GridToolBar>
        <GridCommandButton Command="Add" Icon="add">Add Warning</GridCommandButton>
    </GridToolBar>
     <GridColumns>
        <GridColumn Title=" " Width="4em" Filterable="false">
            <Template>
                <span class="large-icons">
                    <TelerikIcon Icon="info-circle" Class="infoIcon"></TelerikIcon>
                </span>
            </Template>
        </GridColumn>
        <GridColumn Field="@(nameof(WarningVM.Id))" Width="7em" Editable="false"/>
        <GridColumn Field="@(nameof(WarningVM.ValueType))" Title="Value Type"/>
        <GridColumn Field="@(nameof(WarningVM.Value1))" Title="Value #1" />
        <GridColumn Field="@(nameof(WarningVM.Value2))" Title="Value #2" />
        <GridColumn Field="@(nameof(WarningVM.ReasonAdded))" Title="Reason Added"/>
        <GridColumn Field="@(nameof(WarningVM.IsActive))" Title="Active" />
        <GridCommandColumn Width="250px">
                <GridCommandButton Command="Delete" Icon="delete"></GridCommandButton>
            <GridCommandButton Command="Save" Icon="save" ShowInEdit="true"></GridCommandButton>
            <GridCommandButton Command="Cancel" Icon="cancel" ShowInEdit="true"></GridCommandButton>
        </GridCommandColumn>
    </GridColumns>
</TelerikGrid>

My back end code:

public async Task ReadWarnings(GridReadEventArgs args)
{
    ODataWarningsResponse data = await warningService.GetWarnings(args.Request);
    args.Data = data.Warnings;
    args.Total = data.Total;
}
private async Task UpdateHandler(GridCommandEventArgs args)
{
     var test = await warningService.UpdateWarning((WarningVM)args.Item);
}
private async Task EditHandler(GridCommandEventArgs args)
 {
      var warningVM = (WarningVM)args.Item;
      await warningService.UpdateWarning(warningVM);
  }
private void CreateHandler(GridCommandEventArgs args)
{
    WarningVM item = (WarningVM)args.Item;
    warningService.UpdateWarning(item);
}

Stamo Gochev
Telerik team
 answered on 26 Dec 2022
2 answers
149 views

In certain situations I need to create forms based on hierarchical models.  Initially let's assume something simple like:

ClassA may have many common properties (and complex ways to edit them) and consequently I would like them to be reused when creating the forms for ClassB and for ClassC. 
What do you think is the best solution? At the moment with the different attempts that I have made have not been satisfactory. 

Greetings.

 

 

 

Twain
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 23 Dec 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?