datagrid Questions

4

Solved

I'm trying to select all CheckBox in a DataGrid but I didn't get any result using this code bellow This is the function that I'm calling when the main CheckBox is clicked private void CheckUnChec...
Inquietude asked 23/2, 2018 at 20:28

4

Solved

I hava a DataGrid table from Material UI with more than 3000 rows, each page contains max 50 rows per page. What I want is to be able to export all the rows to CSV when I click the export btn. Actu...
Yolanthe asked 14/5, 2022 at 12:37

4

I am currently creating a React web application and am using a DataGrid from google's Material-UI. The grid renders based on a selection of a select list(i.e if the select list is of fruits, and th...
Georginegeorglana asked 11/2, 2021 at 16:18

4

Solved

I am looking to fire an event when a cell in a WPF DataGrid is clicked, I have tried XAML <DataGridComboBoxColumn.ElementStyle> <Style TargetType="ComboBox"> <EventSette...
Job asked 26/6, 2014 at 14:22

6

Can someone please advise me on how to do this? I have tried dtgMain.RowHeight; but this always returns NAN.
Dumbwaiter asked 25/1, 2012 at 11:16

5

First, some data is requested from the server.And then I want to add some data.There is no ID in the data value, but the form needs to display the serial number. const columns: GridColDef[] = [ {...
Measured asked 11/4, 2022 at 3:12

9

Solved

Standard WPF 4 Datagrid. Let' say I have datagrid 200 pixels wide, and 2 columns. I would like the columns take always entire space, meaning if the user resizes the first column to 50 pixels, the l...
Concinnate asked 8/12, 2010 at 16:12

2

Solved

I am exporting DataGrid @mui/x-data-grid table using CustomToolbar I have one of the columns as below { field: 'industry_type', headerName: 'Industry', renderCell: (params) => { const indus...

5

Solved

I am trying to databind DataGridComboBoxColumn <DataGridComboBoxColumn Header="Number of Copies" SelectedItemBinding="{Binding NumberCopies}"> <DataGridComboBoxColumn.ElementStyle> &...
Berezniki asked 13/8, 2011 at 12:3

12

Solved

I am using DataGrids in XAML (not Silverlight) with resizable columns, the DataGrid will expand if the user resizes the screen. Currently if the widths of all the DataGrid columns are less than th...
Outpouring asked 17/2, 2011 at 12:27

18

Solved

I am trying to populate a DataGridView based on the selected item in a ComboBox, I have this part working. However, I need to be able to clear the grid before adding the new data from a new item r...
Shrubby asked 30/10, 2012 at 11:2

10

Solved

Using WPF C#.NET4.5 using visual studio 2012 ulti. Old winforms code: foreach (DataGridViewRow paretoRow in ParetoGrid.Rows) { if ((Convert.ToInt32(paretoRow.Cells["CurrentPareto"].Value) < (...
Lida asked 28/3, 2013 at 15:52

4

Solved

I have a simple object like: class Item { .... public String Measure { get; set; } public String[] Measures {get; } } Which I am trying to bind to a DataGrid with two text columns and a comb...
Abdella asked 22/5, 2010 at 23:32

5

Solved

Another datagrid keybindings question I have a datagrid. It has selection mode set to FullRow and KeyboardNavigation.TabNavigation="Once" which I was hoping would get my desired result but it does...
Migraine asked 13/4, 2011 at 20:17

7

Solved

In my .NET 3.5 WPF Application, I have a WPF DataGrid which will be populated with 500 columns and 50 rows. The performance of App is very very poor in scrolling, or when I do DataGrid.Items.Refres...
Treytri asked 7/12, 2012 at 14:0

8

Solved

I have a WPF 4.0 DataGrid that is bound to a DataTable using AutoGenerateColumns=True. The columns are dynamic, however I know there is always going to be a column named ID and I would like to hide...
Acrefoot asked 22/10, 2010 at 19:10

2

Solved

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
Stedfast asked 17/6, 2022 at 8:37

2

I am trying to add a checkbox or dropdown to one of the column filter. I have tried using type="boolean" to the columns, it is creating the dropdown but not it not creating the list as I ...
Chandos asked 15/4, 2021 at 18:57

3

Solved

I want to disable the button that pops all the options like: Sort, Filter, Hide, Etc. I know you can remove the sorting option in the columns with sortable: false and if I want to remove everythin...
Mancy asked 12/10, 2021 at 19:3

13

Solved

How can I disable selecting in a WPFTooklit's DataGrid? I tried modifying the solution that works for ListView (from WPF ListView turn off selection), but that doesn't work: <tk:DataGrid> &...
Lowther asked 23/3, 2010 at 0:49

6

I am trying to get the values thatI just edited from mui data-grid. My use case is that i would like to be able to take these values and update the state/send a request to update a database. I have...
Tole asked 4/11, 2021 at 17:25

8

Solved

I have a requirement that I want to make a datagridcolumn which only accepts numeric values(integer) ,when the user enter something other than numbers handle the textbox . I tried a lot of webpages...
Inhaul asked 15/10, 2013 at 6:19

1

Working in WPf, C# and using MVVM-C I have the following error in the Immediate window in VS. The window I’m talking about is filled with some textboxes and a datagrid where the user can add new r...
Eupatrid asked 26/5, 2015 at 8:54

3

Solved

Is it possible to do this in a WPF datagrid : |-------------- A header------------|---------------B Header---------------| |-----A1Header----|----A2Header-----|-----B1Header-----|-----B2Header---...
Holoblastic asked 7/6, 2011 at 13:20

4

Solved

I want to create a DataGrid control in WPF in which there is a button in the first cell of each row. Clicking this button will show RowDetailsTemplate or the SubRow. How do I add a button which w...
Crowberry asked 15/6, 2010 at 14:15

© 2022 - 2025 — McMap. All rights reserved.