Questions tagged [datagrid]

A graphical user interface element to display and manipulate data in a tabular format.

datagrid
Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

ASP.NET utilising click event of imagebutton within datagrid template column

I am struggling to get a datagrid working nicely for me. I realise there may be other controls that can do what I'm planning but i'm a way down the line with the datagrid so would like to see if this ...
Simon Levey's user avatar
0 votes
0 answers
6 views

Can I get a value from a textbox which is in asp:DataGrid which is inside another asp:DataGrid's TemplateColumn in Javascript?

I have a asp:DataGrid (Assume as Grid A) which has several asp:BoundColumn and asp:TemplateColumn inside.. One of the asp:TemplateColumn has another asp:DataGrid (Assume as Grid B)inside it , I want ...
Jackwin's user avatar
  • 26
0 votes
0 answers
15 views

Why won't DataGrip let me query a table?

I can create or delete a table in VSCode like so: def write_to_RS(query): try: secret_arn = session.client('secretsmanager').get_secret_value(SecretId=rs_secret_id)['ARN'] # ...
Raksha's user avatar
  • 1,631
0 votes
0 answers
10 views

Ag-grid compute filtered rows without rendering

I have multiple Ag-grid components in tabs and only one of the tabs is active at a time. When a tab is inactive, the grid is not instantiated at the moment. My goal is to display a count of how many ...
Irfanullah Jan's user avatar
1 vote
1 answer
32 views

MudBlazor - MudGrid and data paging with Blazor

Ive just started using the MudDataGrid in the MudBlazor componet set and Im trying to get serverside data retrieval and paging working. I found an excellent example here Mudgrid and serverside data ...
misuk's user avatar
  • 173
0 votes
1 answer
37 views

WPF - Remove border lines in datagrid

I'm creating a datagrid in WPF to display values from a database in a table. I'm trying to make it look nice, and at the moment I'm on the right path towards what I want. Nevertheless, I would like to ...
F A Fernández's user avatar
0 votes
1 answer
25 views

A cell in a DataGrid becomes ReadOnly only after creating a row and filling it with data for the first time

I recently encountered a similar problem. I need to make the cell with Id in the DataGrid read-only after a person creates a row and fills in the data, that is, creates a new Person. I tried to use ...
Ruslan54's user avatar
0 votes
0 answers
15 views

DataGrid slots prop

I need to add an accordian in the Data Grid using slots. I am having a DataGrid , which is listing the data correctly I am looking for some way to add accordian in the row , so if we click row ...
React Beginer's user avatar
0 votes
0 answers
37 views

How do I add a custom class to the columns property of a DataGrid control? [closed]

How do I add a custom class to the columns property of a DataGrid control? to the combox box in the picture below VS2022 Collection Editor CustomDataGridColumns Class public class ...
LocalData's user avatar
-2 votes
1 answer
49 views

WPF. C#. DataGrid and custom sort [closed]

How to do custom sorting of values in a column named "Comments"? The values in the column will consist of a prefix ending in "." and an index number. So, for example, in the cell ...
user23516519's user avatar
0 votes
1 answer
44 views

WPF Datagrid: Change datagridcell foreground color

I've DataGrid control that ItemSource is bound to a DataTable. DataTable data is retrieved from the Oracle database via SQL query. Column names and count are not fixed, so I set AutoGenerateColumns=&...
Gokhan's user avatar
  • 467
0 votes
0 answers
24 views

Changing Row Background Color on Click in MUI (Material-UI)

How can I change the background color of a row when it is clicked without relying on checkboxes in MUI (Material UI)? What would be the best method to achieve this? I have tried to do different things,...
TNP's user avatar
  • 9
0 votes
1 answer
306 views

Selection Rectangle not moving along with WPF datagrid content during scroll

I am trying to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's ...
Amit's user avatar
  • 1
-2 votes
0 answers
19 views

MUI Data Grid changes height when a new row is added despite autoheight being false [closed]

<div style={{ height: "100%", width: "100%" }}> <DataGrid rows={stockPicks} columns={columns} checkboxSelection ...
Robby Cuttriss's user avatar
0 votes
1 answer
41 views

Can I prevent form submiting on enter key in Devextreme Angular DataGrid form?

I have a complex DataGrid form in my application with a lot of different fields including the text area. Whenever i try to press enter on any of text related fields, form tries to submit, and then the ...
Karakat5's user avatar
0 votes
1 answer
34 views

How to create a Binding for dynamically created columns in DataGrid?

I'm working on WPF app development. And one of our dialog has a DataGrid. This DataGrid should display an information about some 3D points. For this point we have a class PointViewModel with 4 ...
5ORBEX's user avatar
  • 105
0 votes
1 answer
55 views

WinUI3 Datagrid TemplatedColumn with flyout button

I'm developing a WinUI3 application. I'd like to have a CommunityToolkit datagrid with a button column each row. When the button is clicked a flyout needs to show up letting user enters the data to ...
fasigno's user avatar
0 votes
1 answer
34 views

How to make DataGridTextColumn fill all remaining space

I've read a lot of posts on similar issues but can't figure out how to get rid of the extra space on the right. The middle column (which should be the rightmost column with the "240" and &...
Harry Mattison's user avatar
1 vote
3 answers
30 views

WPF binding to DataGrid works partially column headers are generated but items don't get listed

I am building an app in mvvm style and object factory as for background I am in study so pretty new. Upfront sorry cause of my study parts of the code got written in German. Problem I try to bind an ...
FlorianD's user avatar
0 votes
0 answers
27 views

Using a UserControl to bind different DataGrids to DataRowDetails of an outer DataGrid

I have an OuterDataGrid. For every row, the RowDetails show an InnerDataGrid. Example: this is the OuterDataGrid: Kid Age Status John 22 online Kevin 23 offline After clicking onto the first row, ...
nicwen's user avatar
  • 1
0 votes
0 answers
11 views

Wpf DataGrid Formating

There are some features of DataGrid which i want to format. How to remove it ? I tried set border bottom for header but it just shown short line. Row 15 is the last, but scrollbar can scroll over row ...
Ryan Tran's user avatar
  • 487
0 votes
1 answer
21 views

The filtering screen in mui datagrid is broken

<DataGridPremium initialState={{ columns: { columnVisibilityModel: { actions: false, }, }, }} rows={productList} columns={columns} ...
KARFELIN's user avatar
-1 votes
0 answers
6 views

how to create a datatable with multiple data listing and sorting in same column?

Data eable like this how can i create a datatable same like the image, same column with two differrent data also need seperate sorting option for each heading.better if it is with data table, any ...
Prasanth S's user avatar
0 votes
0 answers
27 views

The radgridview row data count in WPF

The task is on WPF. In this application I have radgridview when I click row expand the data will be loaded. When the user click on data row the user will drag the row data and drop in another row. The ...
Sujay Anand's user avatar
0 votes
1 answer
39 views

Mudblazor Datagrid Pre-loaded filter

I'm using the MudDataGrid component: https://dev.mudblazor.com/components/datagrid#default-data-grid I'm trying to add a filter as soon as the page loads, but I can't find documentation to do it. I ...
Miguel Borquez's user avatar
0 votes
0 answers
25 views

How to pass MUI Datagrid props to Modal on Action Button Click

I have a datagrid that displays some user data that I have existin in my Firebase DB. At the end of each row on the table, I have an action button that I am looking to display a modal when clicked. I ...
1jacros's user avatar
  • 11
1 vote
0 answers
35 views

Unable to multiselect (SelectionMode="Extended") row in a WPF datagrid

All of my datagrids have this problem, so it is obviously something I have done that is preventing multiselect, but I cannot figure it out. The only event that has code is Mouse_DoubleClick. I can ...
Steve S's user avatar
  • 89
0 votes
1 answer
28 views

Unexpected vertical lines when resizing a DataGrid

I'm working with a DataGrid using the following code: <DataGrid Name="DataGridBids" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" ...
Renato Dias's user avatar
0 votes
0 answers
40 views

How to get column and row index from Powershell XAML gui datagrid?

I usualy make gui's in winform but as this would be used by more people and its going to be quite large and I want to simplify it I wanted to use visual studio for this so wpf/xaml it is. The issue I ...
Koen van mullem's user avatar
0 votes
0 answers
29 views

wpf datagrid does not bubble the scrollwheel event [duplicate]

The scrollwheel does not work on a DataGrid inside a ScrollViewer, although the vertical scrollbar just works fine. I tested with this setup: <ScrollViewer> <StackPanel ...
Roland's user avatar
  • 4,874
0 votes
0 answers
12 views

selection not working in data grid, maybe it's not updating

Im trying to add all the selections to the cart, but my selection seems to be emtpy. Like somehow the selection is not updating. this part does not seem to be logging anything to console when i ...
Ryan Goldstein's user avatar
0 votes
1 answer
59 views

WPF DataGrid adds a column with the name of a class variable, unable to get contents of cells

I am writing a program that requires information provided in a grid-like format, with user specifying both the number of columns (that I call tracks for this purpose) and rows (that I call segments). ...
JayY's user avatar
  • 125
0 votes
0 answers
5 views

right arrow key is not working in WPF Devepress TextEdit

<dxe:TextEdit VerticalAlignment="Center" MaskType="RegEx" DisplayFormatString="HH:mm:ss" EditMode="InplaceActive" Mask="([0-1]?[0-9]|2[0-3]):[0-5][0-...
SohelZari's user avatar
0 votes
0 answers
38 views

.NET 6 to .NET 8 troubleshooting

I'm working on a Blazor project with .NET 6 framework and it works fine. I'm using Radzen too. Since I go to .NET 8, I get a problem with grouping on a Radzen Grid. The grouping never ends and i get ...
Pascal Felix's user avatar
0 votes
0 answers
22 views

wpf scrollintoview high cpu and freezing

i have one problem. using scrollintoview, select item in datagrid.(item count is about 100) alomost is fine, but sometimes high cpu about 29%.... so i try this... ScrollViewer.CanContentScroll="...
user23623430's user avatar
0 votes
1 answer
63 views

DataGrid rows not able to display different values in WPF

I want to create a DataGrid in my WPF Application which has 2 rows, and 14 columns. I have defined a method which creates this data-grid during runtime. The issue that I'm facing is that both the rows ...
SEIL's user avatar
  • 3
0 votes
1 answer
54 views

Update a dynamically created DataGrid in WPF

I'm developing a WPF application and have created two data-grids as shown in the attached image. The second data-grid is being created dynamically using a CreateCoachCompositionDataGrid() method. ...
SEIL's user avatar
  • 3
1 vote
0 answers
33 views

WPF: DataGrid performance drops after Accessibility.dll gets loaded

When I work with a large dataset and lots of columns in a WPF DataGrid the scrolling is normally acceptable. But as soon as Accessibility.dll gets loaded the performance drops and it gets really slow ...
G. Bos's user avatar
  • 11
0 votes
1 answer
91 views

Syncfusion Flutter DataGrid: How to Enable Drag and Drop Column Reordering and Column Resizing

Syncfusion Flutter DataGrid: How to Enable Drag and Drop Column Reordering and Column Resizing I am unable to create Syncfusion's Flutter DataGrid widget with drag-and-drop column and resize column ...
nothing's user avatar
0 votes
0 answers
64 views

How to adjust the size and remove excessive space in the datgrid in mudblazor when height is set dynamically

I am using muddatagrid and I have set the height for the datagrid which changes dynamically based on screen size it dispays the scrollbar when the rowsperpage exceed the height. But the problem arises ...
Sapri s's user avatar
  • 57
3 votes
1 answer
76 views

Displaying 3-dimensional data in WPF DataGrid

I am trying to display a 3-dimensional data in a WPF DataGrid via DataTable binding. Since DataGrid only has rows and columns (2D), my idea is to template cells so that they host a ListView (or some ...
J R's user avatar
  • 259
1 vote
1 answer
44 views

MudBlazor DataGrid NoRecordsContent

Can somebody help me how I can give parameter to NoRecordsContent parameter of DataGrid, please. I would like stylized text display when there's no data to be displayed in the grid.
sada's user avatar
  • 673
0 votes
0 answers
26 views

How do I give a unique aria label to the checkboxes for React MUI Datagrid row selection?

I am trying to make my aria labels unique for each row instead of just the default Select row or unselect row and am not finding a way to do this. I tried overriding the baseCheckbox in SlotProps but ...
Mike Gilge's user avatar
0 votes
0 answers
14 views

Powershell GUI: WPF assign static resource to datagrid column based on bound value [duplicate]

I am fairly new to WPF but decent in Powershell. I got stuck designing a GUI for a Powershell script and the customer wants a graphic for one of the columns instead of text. So, to start off, the ...
Joe S's user avatar
  • 9
0 votes
0 answers
33 views

How to activate editing cell mode automatically when moving to a cell - Datagrid MUI

My problem is that the editing mode is not activated to start editing the value when I move with the arrows up or down each cell in the "Age" column. I have this little example, I want the ...
David's user avatar
  • 1
1 vote
0 answers
47 views

MudBlazor MudDataGrid virtualized ServerData

I have read a very nice and detailed answer from James McCormack but he did not cover virtualization. How can MudDataGrid be used with server side data not with pagination but virtualization. I would ...
sada's user avatar
  • 673
0 votes
0 answers
17 views

How to do decimal filtering using @inovua/reactdatagrid-community react?

I'm trying to do is decimal filtering using this package: Incoming data in its simplest form is like this: "Odds":[ { "HomeOdd": 2.39, "DrawOdd": 4.26, "AwayOdd"...
pixiland's user avatar
2 votes
0 answers
81 views

MudBlazor DataGrid columns added from code are not valid

I want to use MudDataGrid with columns that are added from code, but like in the example the columns are always added at the end no matter what is in the grid. in the example play with the 2 buttons ...
Krzysztof's user avatar
-1 votes
1 answer
84 views

How to resize and remove unneccessary space in the datgrid in mudblazor when height is fixed [closed]

I am using muddatagrid and I have set the height for the datagrid which changes dynamically based on screen size it dispays the scrollbar when the rowsperpage exceed the height. But the problem arises ...
Sapri s's user avatar
  • 57
0 votes
1 answer
38 views

Centering a checkbox in a WPF Datagrid

This seems like such a simple task, but I've gone round in circles, trying numerous approaches, but nothing I've tried works. This is my column definition <DataGridCheckBoxColumn Header="...
tonydev314's user avatar

1
2 3 4 5
327