Questions tagged [syncfusion-blazor-sfgrid]

Questions regarding the SfGrid component in the Syncfusion Blazor component pack.

17 questions
1
vote
0 answers

How To Reference a Specific Column In an Event Handler

I'm using the default ActionBeginHandler to determine what action to take after a user has selected Add, Edit or Delete in a Blazor Syncfusion datagrid. My aim is to make the component reusable with generic type parameters. Ahead of doing that, I…
1
vote
1 answer

when i add a new record automatically it save just one record

I have a syncfusion data grid , I want when I save a record automatically adds new record I wrote the code but it implement just one time then it adds a new record without save the previous record this is my code:
1
vote
1 answer

Update SyncFusion Grid after backend data source has changed

I have a SyncFusion data grid tied to a backend SQL database. My crud actions are called through custom buttons that call a dialog box. This works nicely except that the grid is not updated with the backend data after an add/edit/delete. I have…
1
vote
2 answers

SfGrid RowSelection event handling reloads data

I have the following code in a Razor component:
0
votes
0 answers

await UserManager.GetRolesAsync()

I am trying to display all roles asigned to a user in order to delete or add new roles. The page is loading all users into a grid (1) and all existing roles into a second grid (2). Selecting a user (click on row) triggers "private async Task…
0
votes
1 answer

How to fetch the Entire row data After clicking context menu in Sync Fusion Grid?

I have scenario where there is a SyncFusion grid with 6 columns. Once user click on the ContextMenu for the a row, i need to fetch all the Row data. how to do the same? Reference grid & context menu as shown below.
0
votes
1 answer

How to send a value through href?

I am trying to pass a column value through an href link, but instead of receiving the value, I am getting the column name.
0
votes
0 answers

Styling of BlazoredTypeahead results in a SyncFusion SfGrid

I'm newer to Blazor controls and SyncFusion. I'm trying to style a grid in an EditForm to allow autocomplete/typeahead.
M Kenyon II
  • 4,136
  • 4
  • 46
  • 94
0
votes
0 answers

Blazor SFGrid Checkbox Selection is not working

I am trying to set up a check box in my grid for selection. Here is my sample grid looks like.
0
votes
1 answer

SyncFusion datagrid crashes "System.ObjectDisposedException: Cannot access a closed Stream" when datagrid contains images

SyncFusion datagrid crashes "System.ObjectDisposedException: Cannot access a closed Stream" when swiping through the datagrid (containing images) left and right on a mobile screen. This is the code for assigning the ItemSource to the datagrid.…
Arup
  • 155
  • 11
0
votes
1 answer

SFDataGrid column and cell values swapping

I am trying to implement a grid using SFDataGrid in syncfusion. All data appears correctly but not agains the correct column name. Cell and column names are incorrectly matched. Please help. Flutter Code: Grid Definition: SfDataGridTheme( …
RV.
  • 2,781
  • 3
  • 29
  • 46
0
votes
0 answers

EF Core Foreign Key is Reset by Navigation Property when Attaching Disconnected Record to Context

I am building a blazor server app using a Syncfusion DataGrid and am having problems updating ForeignKeys that have Navigation Properties. I'm using .Net 6 with Entity Framework Core. The steps to describe the problem are as follows: Blazor Page…
0
votes
1 answer

Blazor SFgrid / Synfusion Toolbar element disappears with EnableAdaptiveUI

I have an issue with a Syncfusion component in Blazor : SgGrid. I'm currently using Syncfusion v 19.3.0.54. The problem is : when I enable EnableAdaptiveUI, my Toolbar dissapears. So I dont want to choose between responsive and my buttons... The…
Stilgaar
  • 21
  • 1
  • 3
0
votes
1 answer

Button maintaining selected state in Syncfusion Blazor Grid when returning from a dialog box

Using SyncFusion and Blazor to make a web app (server). Main page has a grid with create and edit buttons in a toolbar. These buttons call a dialog box with a form pin which the record is created, edited, and validated. When the user closes the…
0
votes
1 answer

How do you add an ASP.NET web API to the default SERVER ASP.NET Blazor Default Generated Solution

What is the best approach to add a web api as a project to the default ASP.NET Blazor solution? When using visual studio 2019 you no longer get the server and web projects when you select Blazor server on create new solution/project. I found a way…
1
2