datagrid Questions
3
I am creating a DataGrid where I want to show the values of ready_by and name that you can see in this picture:
In the code, I have configured it in this way: (focus on the last two)
const columns...
Lemures asked 30/3, 2022 at 16:2
3
Solved
I'm creating a file list with MUI DataGrid. The user able to check the checkbox in DataGrid to make their selection. I want the checkbox to reset after the user perform some action such as delete t...
Brinkmanship asked 22/4, 2021 at 8:34
6
Solved
This walkthrough says you can create a WPF datagrid in one line but doesn't give a full example.
So I created an example using a generic list and connected it to the WPF datagrid, but it doesn't s...
6
Solved
How to read a cell value form a WPF DataGrid?
I search online and try any possible combination and nothing works:
Datagrid.Cells[..], DataGrid.Items.Cells[..], DataGrid.Rows.., DataGrid.Items.Row...
11
Solved
I set the min height of a datagrid that way:
<DataGrid MinRowHeight="40">
After feeding the datagrid with datas, the text in each cell is top and left aligned.
I could not find an easy way...
5
I know that 'disableColumnMenu' will disable the entire column, and setting 'sortable' and 'filterable' to false will remove those options for that column. Is there a way to disable specific menu o...
Gorgonian asked 7/3, 2021 at 7:13
6
I have a datagrid with a delete icon as one column and update icon as another column. On click of update, the first cell is set on focus.
On click on delete I want to delete that selected row, but...
3
I have tried everything and got nowhere so I'm hoping someone can give me the aha moment.
I simply cannot get the binding to pull the data in the datagrid successfully.
I have a DataTable that con...
Wardle asked 20/4, 2010 at 17:55
6
The default behavior is to use CTRL+Click to deselect items in the Datagrid
I want to be able to mouse click (left or right button) the whitespace in the grid and have it deselect any selected ite...
4
Solved
I am currently working on DataGrid Component from Material-UI. Data can be displayed, but the inbuilt sorting is not working as expected. When I try to sort ASC/DESC it is sorting based on the firs...
Cooksey asked 29/3, 2021 at 19:53
3
Solved
I currently have a datagrid with a rowdetailstemplate which contains another datagrid to show a parent to child relationship. The second grid has a column which contains a button which when clicked...
10
Solved
I'm programming by WPF. I need a way to make center content of cells, in DataGrid control. I use this code also:
<DataGrid x:Name="dg1" HorizontalAlignment="Left" Margin="10,10,0,0"
VerticalAl...
6
is there any way of hiding the header's column separator for specific (or all) cells?
here is my column definition
const ordersCols = [
{ field: 'DOCDATE', headerName: 'Fecha', flex: 1 },
{ fiel...
Polyhymnia asked 20/5, 2021 at 18:31
3
Solved
I'm trying to display the data grid with all columns should take equal width to fit the parent component. but there is a blank space at the end which I'm not able to remove and cannot make columns ...
Draconic asked 14/6, 2021 at 12:43
2
Solved
I am trying to localize MudBlazor data grid using resource files. But data grid filter items are still shown in English.
According to this I have added the following class:
using Microsoft.Extensio...
Postobit asked 5/11, 2023 at 6:36
17
Solved
I want to get value for selected cell in datagrid , please anyone tell how to do this. i used SelectedCell changed event , how can i do that?
dataGrid1.CurrentCell
4
I have an ObservableCollection<SolarSystemViewModel> where SolarSystemViewModel derives from the ViewModelBase. The ViewModelBase exposes IsInDesignMode and IsInDesignModeStatic that are show...
Isoprene asked 12/2, 2013 at 21:27
5
Solved
I could not find anything related to this in the react material ui datagrid documentation here. I noticed you can add tooltips to columns via a "description" field, but can not find any d...
Kaliningrad asked 21/11, 2020 at 0:8
13
I've got a WPF application using datagrid. The application worked fine until I installed Visual Studio 2012 and Blend+SketchFlow preview. Now, when I'm trying to copy the data from the gr...
Vantassel asked 7/10, 2012 at 13:29
3
Solved
I am creating a WPF data grid, and I want to be able to reorder rows by dragging and dropping, like this: I click on a row and drag it up or down. As I do, a marker shows where the row will be drop...
Acrylyl asked 17/9, 2009 at 11:9
10
Solved
I have a regular DataGrid from WPF 4.0 RTM, where I put data from a database. In order to make clean & light style of DataGrid I use a tall/high rows and by default DataGrid aligns row content ...
Palatinate asked 20/10, 2010 at 18:50
2
Solved
I have a DataGrid, with columns XAML as such:
<DataGridTextColumn Header="Time" Binding="{Binding Date, StringFormat='yyyy-MM-dd HH:mm:ss'}" SortMemberPath="Date" SortDirection="Descending" Wid...
Felt asked 11/3, 2015 at 11:14
7
Solved
What must be done to get a WPF DataGrid with cells that wrap text instead of truncating it?
Right now when a text is bigger and don't fit in a column the text is truncated and users can't see it v...
5
Solved
I need to set a table from a database to be the DataSource of a GridGrid in WPF. In Windows Forms the property is called DataSource but in WPF no such property exists, so how can i do it?
Whitleywhitlock asked 22/3, 2011 at 22:5
3
Is it possible to implement expand-collapse for each row using Material-UI DataGrid?
I know that we should be able to do this using TableRow and render it manually (Collapsible table), but is it po...
Melodramatize asked 28/4, 2021 at 20:11
1 Next >
© 2022 - 2024 — McMap. All rights reserved.