Telerik Forums
UI for Blazor Forum
1 answer
1.0K+ views

Hi,

I'm retrieving data using a select query into a datatable. When I try to show this data in a grid with the  AutoGenerateColumns=true, the data is not shown.

Is there a way to show the data from a datatable in a grid with automatic generation of the columns? The number of columns in the query are dynamic, before execution of the query I don't know the number of columns.

 

Thanks

 

 

Marin Bratanov
Telerik team
 answered on 27 Sep 2020
1 answer
946 views
Can someone help on how to achieve this functionality in Blazor Charts -  https://docs.telerik.com/devtools/winforms/knowledge-base/hide-chart-series
Marin Bratanov
Telerik team
 answered on 27 Sep 2020
3 answers
2.0K+ views

I am trying to set focus on a TelerikTextBox when a window is opened, but it would appear the call to js is being made before the window actually opens so the element is null.

Is there anyway to wait until the window is actually open and then call js to set focus on the textbox?

private async Task NewTicketClick()
{
    newTicket = new NewTicketViewModel
    {
        CreatedBy = userId,
        Owner = userId
    };
 
    showNewTicketWindow = true;
 
    await jSRuntime.InvokeVoidAsync("focusInputFromBlazor", new[] { ".defaultFocus" });
}
Marin Bratanov
Telerik team
 answered on 25 Sep 2020
5 answers
294 views
Love the new component; however, when updating the reorder/resize parameters, the component is re-rendered, enabling the cursors for resize and drag/drop but no functionality. In addition, when debugging, the options for the front-end do not update after the initial load.
Marin Bratanov
Telerik team
 answered on 25 Sep 2020
2 answers
1.3K+ views

Hello,

 

I'm am loading a flat list with parent-child elements (the children elemnt having a reference to the parent element through a ParentId) into an ObservableCollection and when the data is presented in the TreeList Component the parent nodes are collapsed. Is there a possibility to set the treelist to appear with all the parent elements that have children expanded?

 

Best regards,

Cipri

Ciprian Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 25 Sep 2020
2 answers
263 views

Hi,

The TileLayout is great. I'm searching a way to dynamically switch the definition according to media breakpoints like width of the screen. Say, on a wide screen I want to present my data in 4 columns, but on a small screen the tiles a very compressed so I would like to have them reordered in 2 or even only 1 column. Is that possible?

Brian
Top achievements
Rank 1
 answered on 24 Sep 2020
7 answers
2.8K+ views

We are building a new server-side Blazor web site that gets its data from our existing ASP.NET Core 3.1 web API hosted in Azure. The API accepts PageSize, PageNumber and a dictionary of field names and values to be used for filtering and sorting, and returns the specified page of records that are filtered, and sorted against the full database table data.

We would prefer to use a commercial Blazor grid component that displays FilterRow UI elements and use the user input values and FilterRow element assigned field names to pass the field names and filter values to our API for filtering. We also want to capture the Sort (column header click actions) to pass the sort filed name and direction to the API and finally, we want to capture the component's pager values for current PageNumber and PageSize to pass to our API. That way, our API can filter, sort and page the full data in the database and just return the result set to be displayed.

We have a working version of the TelerikGrid v2.5.1 athat handles the paging the way we want, since you supply the GridReadEventArgs in the OnRead event that include the PageNumber and PageSize, but the sort and filter elements appear to be bound to the current data and so far, we have not been able to find a way to pull the filter and sort expression out to pass on to our API in a way that actually works. 

Is what we want to do at all possible with your 2.5.1 build of TelerikGrid for Blazor?

 


Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
937 views

Hi,

Can I have two way binding to SelectedItems and to SelectedItemsChanged event at the same time like the followings:

<TelerikTreeView Data="Items" @bind-SelectedItems="SelectedItems" @bind-SelectedItems:event="SelectedItemsChanged">

<TreeViewBindings>
        <TreeViewBinding IdField="Code" TextField="Title" />
    </TreeViewBindings>

</TelerikTreeView>

working? As Blazor allows binding to event handlers by convensions?

Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
139 views

Hi , I am trying to use blazor demo . When I try to get code from demo.blazor   my code cant find  @using TelerikBlazorDemos.DocumentProcessing  . What can I do about this ? 

 

 

Marin Bratanov
Telerik team
 answered on 23 Sep 2020
1 answer
128 views

I have a grid with an incell editmode.

If I

  • select the cell to enable the incell mode
  • select the data
  • press backspace all selected data will be deleted
  • type in the new text and the first character is also deleted.

Repeatable in Edge and Chrome

Marin Bratanov
Telerik team
 answered on 22 Sep 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?