Questions tagged [datagrid]
A graphical user interface element that presents a tabular view of data.
18,114
questions
0
votes
0
answers
2
views
Facing issue in making server side pagination work with MUI Datagrid for my use case
I am trying to pass only page and pageSize from App.tsx => Parent component
and change onPageChange and onPageSizeChange accordingly at demo.tsx => child component
is it possible to make server ...
0
votes
0
answers
32
views
Radzen nested Datagrid not showing
I'm new to Radzen and I've been trying to make a nice yet simplified nested master detail datagrid following this example. I have managed to make two seperate datagrids appear properly but when I try ...
0
votes
1
answer
15
views
How can I add custom attribute to MUI DataGrid Column Header?
I need to add data-test attribute to column header for automated testing of different operations, such as sorting, filtering etc., so that scripts could find where to click.
How it can be done? I ...
-1
votes
0
answers
24
views
WPF Datagrid MVVM for different collections [closed]
Good afternoon.
I am hoping for some advice as I do not know if I am approaching my issue in the wrong way.
In my code I have about six collections of data that I would like to pull into one datagrid.
...
-1
votes
0
answers
24
views
How to create a table that has subheaders in c# datagrid? [closed]
How to create a table in c# that has subheaders just like this --> table example with subheader
I can only create a table with one straight header but I want to create a header with subheaders. ...
0
votes
1
answer
27
views
DataGrid - Duplicate row and create new binding source to textbox
I have a DataGridTemplateColumn.CellTemplate in my DataGrid which contains a TextBox.
<!-- TextBox Cell -->
<DataGridTemplateColumn MinWidth="180">
<DataGridTemplateColumn....
-1
votes
0
answers
23
views
Javascript collision detection box not moving with the player
px is the player's x coordinate in pixels (each object is 16 pixels). py is the player's y coordinate. Object names are stored under d[x][y]. If objects are in the background, d[x][y + "s"] =...
0
votes
1
answer
31
views
getRowId from Material UI datagrid doesn't work
I keep getting this error Uncaught Error: MUI: The data grid component requires all rows to have a unique id property. Even though I have passed the getRowId prop into the datagrid and defined what ...
0
votes
1
answer
44
views
WPF DataGrid when compressed shuffles the values
The problem
WPF Datagrid. A dataset with one table and three columns. Price, Discount, Total. The only editable column is the discount. If I enter the data with the grid fully visible, everything ...
0
votes
1
answer
35
views
Telerik WPF virtual grid - Array dimensions exceeded supported range error (VirtualQueryableCollectionView)
I'm using Telerik UI for WPF and I created virtual grid using VirtualQueryableCollectionView. Virtual grid is doing fine until number of rows is big, I tried to show 200 million records and get ...
1
vote
1
answer
32
views
What is the optimal way to structure a dynamic grid component?
I am building an angular app that the majority of the data is displayed in grid view. I want to build a reusable dynamic grid component that takes a config json object and build a new instance of it ...
0
votes
1
answer
30
views
Invalid Date DataGrid Mui React
I'm having problem converting my timestamp firestore to simple date ("dd, mm, yy") this is my code:
{
field: "createdAt",
type: "date",
headerName: &...
1
vote
0
answers
37
views
I am trying to save the values form the DataGridPro MUI, a TreeData ... How can i save Values of the Cells after i edit them
I am novice at this. I am trying to save the values form the DataGridPro MUI, I am using a TreeData. How can i save Values of the Cells after i edit them. I watched a video online in by which i was ...
0
votes
0
answers
25
views
WPF- DynamicGridCellStyle
i don't know how to set a text in a dynamic grid on top.It's alway only 'Center'.
This is my code snipped, see 'DESCRIPTION':
<Style x:Key="DynamicDataGridCellStyle" TargetType="{x:...
0
votes
3
answers
39
views
WPF : binding DataGrid outside the list
<Grid Background="white" Margin="0,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Label Content="Physical Test" ...
-3
votes
0
answers
43
views
How to access to the Items of DataGrid in Datagrid row detail by Name in wpf?
I use C# WPF I want to display data in Nested DataGrid , like this simulation ↓
What I need :
The problem is I cannot access the DataGrid in RowDetail of the Main DataGrid by the name !
What have I ...
0
votes
0
answers
34
views
DataGrid Update Instantly [duplicate]
I have been trying to update the DataGrid instantly but the DataGrid is only updating after completing the Button_Click function that I called, Here is a sample of my code, rows variable is binded to ...
0
votes
0
answers
22
views
Create a sticky expander in a listbox wpf
Currently I have a listbox and expander as listboxitemtemplate. At a time user can select only one item and the expanders will expand if selected. Now i have to add a scrollviewer and during the ...
0
votes
0
answers
9
views
Material-UI DataGridPro save rows in state
I am trying to save the state into Redux of all rows in MUI DataGrid from this demo:
https://mui.com/x/react-data-grid/editing/#full-featured-crud-component
https://codesandbox.io/s/tiu79l?file=/demo....
0
votes
0
answers
15
views
Can we customize the filter panel(menu) that we see on MUI Datagrid
This is the normal filter menu that comes in the MUI Datagrid
Can I change the styling of the filter menu to something like this
0
votes
0
answers
13
views
Cannot set CellStyle for DataGridTextColumn and DataGridTemplateColumn
I have a DataGrid and it has 4 columns. 2 are TextColums and 2 are DataGridTemplateColumn. I have different CellStyles for text and template columns. So i defined 2 style as below and set the ...
0
votes
0
answers
19
views
How to move focus to previous element from textbox in wpf?
I have a sample UI and trying to move focus to previous element on pressing Key Up. Can someone help me how to move focus to previous textbox from current Textbox or another elements.
Here is my ...
1
vote
1
answer
52
views
How to auto sort datagrid column when binded datatable changes
I'm facing a problem that i don't know how to solve. Maybe someone can throw some light in my path :)
I am developing an WPF application that has a DataGrid binded to a DataTable using MVVM. I have ...
-2
votes
1
answer
36
views
WPF Datagrid Colum ActualWidth incorrect - Wait for ObservableCollection to finish update
I´m kind of stuck here with a little problem. I´ve got a DataGrid whose ItemSource is fed by an ObservableCollection. (I´m creating a little plugin for Revit).
My ObservableCollection contains of some ...
0
votes
1
answer
26
views
How to override DataGridCell Style
I have a datagrid and want to style its cells. I have 4 columns, 2 are text columns and 2 are custom columns for edit and delete button as shown below. My purpose is to style them differently. When ...
0
votes
2
answers
25
views
How to remove header of gridview column in wpf
I have a ListView with GridView content as below. I just add the delete and edit button to the end of each row. So i don't need the header for those columns. I collopsed the headers for those columns, ...
-1
votes
1
answer
18
views
Customize MUI Gridtoolbar
I'm using MUI Datagrid and i wanna know if there is a way to customize the gridtoolbar with custom buttons and text.
Thanks.
Federico
0
votes
0
answers
7
views
Is it possible to show what rows were filtered out?
After applying a filter and say 3 rows were filtered out- instead of it fully disappearing from the ui, can they still be visible / greyed out?
0
votes
1
answer
35
views
WPF DataGridTextColumn adding PreviewMouseDown Event
I want to using a keyboard in my WPF Desktop Project.Normally I'm using a datagrid and all values come from my database.My aim is when I click a cell of datagrid then must be open my custom keyboard....
0
votes
0
answers
14
views
Disable Enter key for Data Grid Edit Cell
By default, Data Grid Edit Cell commits the input by enter key, however, when input is Chinese or Japanese languages, users need to press enter key for word confirm. For these languages, instead of ...
0
votes
0
answers
28
views
WPF C# MVVM Context menu displayed depend on Selected/unselected row but right mouse button selects the row
I am updating a simple app from Code Behind to MVVM. The app has a DataGrid. The ContextMenu displayed depends upon whether a row is selected or not. Unfortunatley when I click the RIGHT mouse button ...
0
votes
1
answer
30
views
How to get a new template row in a DataGrid when deleting the newest item without changing the focus?
Preface: I am having a real problem to find a fitting title to accurately describe my problem, so feel free to edit, if you find a better title.
Problem
I had a chat with a colleague about how to get ...
0
votes
1
answer
19
views
Allowing Empty Cells in a datagrid WPF
I am currently using a datagrid where I leave the value empty for a few weeks until I need to fill it. My datagrid will not allow the value to be empty and shows a red box. How can I allow a null ...
0
votes
2
answers
71
views
Problem filtering data upon choosing an item from combo box WPF MVVM
I have two datagrid's in two different tabitems. The datagrid in first tabitem displays some specific data on app load and should get updated if the data changes, pretty simple. The second tabitem's ...
0
votes
0
answers
22
views
React JS MUI DataGrid no rows or data
I have a MUI's Data Grid component, and I'm fetching data using axios promise, of course the purpose is to show the data fetched to the Data Grid component, when I consoled the rows array before and ...
0
votes
2
answers
25
views
WPF set tooltip from Datagrid column
How can I bind tooltip of a control that resides in a datatemplate.
<UserControl.Resources>
<DataTemplate x:Key="PositionAdded">`enter code here`
<materialDesign:...
0
votes
0
answers
49
views
How to get the updated value of a particular cell in Data Grid of Material UI
When I updated the cell in the data grid, I was only able to retrieve the ID and field through the prop selectedCellParams here but I could not get its modified value.
I want to get the selected value ...
0
votes
0
answers
17
views
MUI Datagrid custom PDF export
I have a Datagrid that shows Invoices. I can export to PDF by selecting the Print option. However, is it possible to customize that PDF outline to add a logo, headers, etc..?
If so, can anyone provide ...
0
votes
0
answers
26
views
DataGrid using MVVM Context Menu items depend on whether a Row is Selected or not
I'm updating a small app to MVVM. It uses a DataGrid and the context menu displayed depend upon whether a row is selected or not. My problem is when I right click on an unselected row the row is first ...
0
votes
0
answers
19
views
Material UI change Datagrid MuiDataGrid content
I want to change Material UI Datagrid item's sort and search menu content. The blue marked image is orijinal version, I changed the orange one with Dev tools in Chrome. How can I change those content ...
0
votes
0
answers
27
views
How do I resolve the drop-down menu not opening when I dynamically add a combo box on the code?
Question
I have a question about controlling a screen list in C#.
I am currently creating a DataGrid with a ComboBox set.
I control the ComboBox to be hidden for plain, and only show the ComboBox when ...
0
votes
0
answers
19
views
Why are some AutomationPeer are sealed?
I have a DataGrid where an additional parameter exists at a DataGridRow. I want to test this parameter with FlaUi. I have already read up a bit on AutomationPeers. As far as I understand you have to ...
0
votes
1
answer
22
views
WPF DataGrid not updating on first row
I have a datagrid like that:
<DataGrid Margin="10" x:Name="datagrid1" Height="450" Width="1100">
<DataGrid.Columns>
...
0
votes
0
answers
24
views
How to apply ASM on oracle DB 19C on windows OS
I installed ASM on Windows Server 30 and I installed oracle software only on windows server 31, How to apply ASM on server DB because when I start to create DB using dbca I didn't find any disks ...
0
votes
0
answers
30
views
DataGrid MUI sticky header removed the responsiveness
I'm trying to create a sticky header for the datagrid mui header. This causes a lot of problems, it makes a horizontal scroll on the page, and a lot of problems for the responsiveness.
Here is my code ...
0
votes
0
answers
57
views
How can i access the cellcontentclick property from my Datagrid
I am trying to do a DataGrid where i can change rows with buttons in every row. One is the edit button and one is the delete button. Also I want that the addbutton is only in the last row where there ...
0
votes
0
answers
13
views
ag-grid react Advanced Grouping: "Group by tags" where "tags" is an array of strings
Can anyone help me with a solution for grouping a column in ag-grid where the value of the cell is an array of strings. I tried using keyCreator and looping through an array.
The keyCreator function ...
0
votes
1
answer
49
views
how can I take one class properties to another class in C# WPF?
I am new to C# WPF and I am creating an application to add Item details to a form. My problem is I want to add item details from a wpf window to a datagrid which is in the main window. I created a ...
0
votes
1
answer
32
views
What is a event handler that can be used after data has been changed in a datagrid
I am currently using a datagrid to either:
-Update a current value based on its previously existing serial number in the selected row.
-If the previous serial number doesn't exist in the database(...
0
votes
1
answer
52
views
Data Grid filter performance wpf
I have a DataGrid with textbox in the headers for filter, but the performance is not so good. This is the code for the datagrid:
<DataGrid x:Name="DGrdBuscar" ItemsSource="{...