Questions tagged [datagrid]

A graphical user interface element that presents a tabular view of data.

1
vote
0answers
9 views

Why does my itemCommand DataGrid event only fire on the second click of an item in the grid control?

I am having an issue with my web forms datagrid responding to a click event. Allow me to explain: Upon the page being loaded for the first time, a dropdownlist is filled for the user to select an ...
0
votes
0answers
13 views

How to save information in array and Load the array information in the datagrid in wpf(C#)?

I receive data from a database of a DataGrid columns and apply some changes to it. Now how do I put new data in DataGrid to display? Can I do this using an array? Of course I want to do this in wpf. ...
0
votes
0answers
30 views

WPF DataGrid SelectedItems two way binding

I'm trying to bind multiple selections from a DataGrid to the ViewModel but struggling to find a solution that allows for two-way binding as I believe the SelectedItems property of the DataGrid is ...
0
votes
0answers
13 views

How to highlight search in DataGrid faster in wpf?

I am searching in a datagrid through a textbox and my code highlights the searched text in datagrid cells and filter the rows according to the search.This works fine for small number of rows but as ...
0
votes
0answers
13 views

Can't load remote data from Spring MVC RestController

I'm using DataGrid to present data from a Spring MVC RestController. But, when I set the Controller path in the DataGrid URL parameter, then no data is loaded into the DataGrid table. I've tested the ...
0
votes
0answers
6 views

How to change textbox value in datagridtemplate [duplicate]

I need to change text box using updown button in datagrid and get current value <DataGridTemplateColumn.CellTemplate> <DataTemplate> <Grid &...
-2
votes
1answer
26 views

How Change TextBox With myCustomTextBox in WPF datagrid cell editing mode

I need to change default TextBox With myCustomTextBox in WPF data grid cell editing mode. For example: When a user doubleclick on a cell, Show MyCustomControl instead WPF TextBox. Thanks.
0
votes
0answers
12 views

Why do all grid views get updated on adding item from common list control in active gridview in wpf?

I have a bind object of observable collection to my data grid view. But I am not able to figure out where issue exactly occurs. As I bind collection objects to grid views and when I add an item from ...
0
votes
1answer
18 views

C# WPF - Datagrid

How can we achieve this type of datagrid with editable combobox, searching on multiple columns?Advanced Datagrid Image
0
votes
0answers
20 views

WPF, c# datepicker in datagrid commit

I have problem with DatePicker which is in Datagrid. When I change the Date in row which is created - visible is OK, but when I read the datas there is old value. I must go to another cell and pres ...
0
votes
0answers
22 views

Retrive Email from Outlook and Store it in Datagridview VB.NET

Can anyone help me, I need to store email in datagridview : I've come this far and I'm using Microsoft.Office.Interop.Outlook CODE : Public Sub ReadEmail() Dim tempApp As Outlook....
0
votes
0answers
17 views

ASP.NET / XAML User Interface

Below is an example of a user interface I am tasked to create either in ASP.net or XAML The intent is to create a UI as shown below with 55 total boxes. Each box is associated with each component. ...
0
votes
0answers
11 views

Mulitiselect datagridcombobox column in wpf

I have a datagridcombobox column with filtering options. now the header filter also shown as combo box. i can select only one option to filter. But i want that to be a multiselectable combobox. How to ...
2
votes
0answers
39 views

Converter parameter “values” is null when converter is used after DataGrid has been scrolled

I have a DataGrid and a few Checkboxes that act as filters for the visibility of certain rows in the DataGrid. This works perfectly until the DataGrid is scrolled; if you try to filter the DataGrid ...
1
vote
0answers
30 views

Displaying edited row of one DataGridView in other DataGridView

How do I display an edited row of a data grid to another data grid? Suppose data grid 1 contains some details. When I make any changes to any row, that entire row should display on other data grid. ...
0
votes
0answers
29 views

C# WPF binding DataGrid on SelectedItem from another DataGrid

I have two DataGrid elements. The first one is loaded with article data and the second one should display further data based on the SelectedItem of the first DataGrid. The binding of the first ...
0
votes
1answer
28 views

DataGrid Column Width string to width converter MVVM

Right now I have a combobox with multiple different entries and when selected I want a datagrid I have to change column width according to the selected text from the combobox. So far I have tried ...
0
votes
0answers
19 views

Kendo UI Grid for Angular - It is possible to disable automatic filter?

I'm using the data grid provided by Kendo UI, but I'm server-side filtering, sorting and paging, never localy, my question is if it is possible to disable the automatic filter provided by Kendo, which ...
1
vote
1answer
22 views

Use Data Virtualization when binding to WPF DataGrid and support Sorting

I am binding a large collection (250,000+ records) to a DataGrid. For this to perform well, it must use both UI Virtualization and Data Virtualization. After some research I figured out how to get ...
2
votes
1answer
58 views

Resize DataGrid Column OnLoaded programatically

I have this DataGrid which looks like this when I load data for the first time: so, its almost perfect but what I really want is shown when I resize the Window to maximum - the columns are now ...
0
votes
1answer
25 views

Select row should not include the first column datagridview asp.net

I would like the select rowdatabound not to included the first colunm. The reason for it is when i click on expand the datagridview the page refreshes causing the datagridview row to collapse again. ...
0
votes
2answers
37 views

WPF export DataGrid to Excel file using ClosedXML

I have been searching how to export DataGrid to Excel file using ClosedXML. Every example I've stumbled upon had hard-coded values for the cells. In my case I have DataGrid with AutoGenerateColumns ...
0
votes
1answer
21 views

Group datagrid entries by hidden property

I have the following data structure: public class TimeData { public Employee Employee { get; set; } public IList<WorkTime> WorkTimes { get; set; } } ViewModel: public ...
0
votes
0answers
18 views

How to develop a “Check All” feature on a large, paginated grid/table

I am looking for advice on best practices regarding the following scenario. I have a grid that supports server-side pagination. Let's say that there are 100,000 records in the grid, and each page ...
0
votes
0answers
34 views

What is the type of a DataGrid control?

I need to send different DataGrid control object references to a function. Something like this is possible with many controls like a Form: Dim lForm as Form Set lForm = frmPrint MsgBox(lForm.Caption)...
0
votes
2answers
56 views

Linq not equal to returning all values in wpf datagrid

Good Morning. I have a list "changes" from which I'm getting data from 2 datatables whereby "Item" from datatable 1 is equal to "ItemCode" from datatable 2 as shown below. var changes = (...
0
votes
1answer
32 views

Center text using Synchfusion's SfDataGrid for UWP with dynamic columns

I am trying to center the text in the cells for a SfDataGrid in UWP. The columns are bound during runtime so I can not set a cell style on column elements. The xaml for the grid looks like this: ...
0
votes
1answer
38 views

Edit Time from a DateTime variable in a DataGrid

I have a datagrid with the following column <DataGridTextColumn Binding="{Binding MorningCheckOut, StringFormat=t"> With the way its setup it works well to display the data I need. f.e : 8:00 ...
-2
votes
0answers
37 views

C# DateTime to age with datagrid and background color [duplicate]

Hi there i'm searching for an answer on the next code. How can I fix my DateTime of a student birthday to there age? I can not find the answer myself so If anyone could help me thank you! It's made in ...
0
votes
0answers
35 views

How to update a database/table using C# & show the changes instant in GridView?

I'm trying to update a tale with C#, but, I'm not able to to that. I want to show all the data in GridView including the updated rows as well. Any help much appreciated. String connectionString = @"...
0
votes
1answer
92 views

Raising property change event on ItemSource doesn't fire the AutoGeneratingColumn event

I have the following code; the intention is to raise the AutoGeneratingColumn event when context menu is being clicked on. XAML <UserControl x:Class="SyncTabControls.ExcelReport" ...
0
votes
0answers
16 views

dropdown not working in datagridview asp.net [duplicate]

I want to have dropdown in a datagridview i get the following error Object reference not set to an instance of an object but i don't understand why I get this error. Here is my front end <asp:...
0
votes
1answer
19 views

split column names with grid table

I want to generate formatted tables witt grid.table. that is what i've made: library(grid) d <- head(iris, 3) colnames(d) <- c("A very long colname", "Sepal Width", "Petal Length", "Petal ...
1
vote
0answers
14 views

Entering negative numbers with leading zero into the DataGrid cell

The DataGrid column is bind to a DataTable column with a decimal data type that is filled from the database. <DataGridTextColumn Binding="{Binding Pay, UpdateSourceTrigger=PropertyChanged,Mode=...
0
votes
1answer
22 views

How to compare two rows from datagrid?

I have to tables in the first table de user selected the rows to add with a checkboxes in each row then presses a button add rows under the first table. However I do not want the rows that have ...
1
vote
2answers
39 views

How to automatically resize columns of DataGridView in .NET framework 3.5

In .NET 4.5.1, there is a method to resize columns of DataGridView, dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.Fill) 'Here datagridView is the Name of DataGridView Control But ...
0
votes
1answer
23 views

WPF Datagrid Inside WrapPanel?

I have a lot of columns in my DataGrid and would like to be able to put it into a wrap panel so it has the ability to resize while still displaying all of it's contents. Here's a visual example: No ...
0
votes
0answers
30 views

How do you hide the selectAll check box from clarity dataGrid?

How do you hide the selectAll check box from clarity dataGrid? Is it possible to use CSS to do that?
0
votes
2answers
22 views

WPF DataGrid top-left button set/view Content?

Trying to set the Content property of a WPF DataGrid top-left button at run time. I get the button object using the VisualTreeHelper of the DataGrid object and then I successfully set its Content ...
1
vote
0answers
16 views

WPF DataGrid copy all headers (rows & columns)?

Trying to programmatically copy the entire content (row and column headers included) of a WPF DataGrid to clipboard when user double-clicks it. Copying column headers and cell data is straightforward. ...
0
votes
0answers
19 views

Why destroyURL can not work with easyui datagrid

So in my project, i use easyui frame. I want to delete the selected row in table, so i use edatagrid. The define of table code is like: <div class="table" style="height:100%;width:100%;padding-...
0
votes
1answer
29 views

In cell grid editing in react-admin

Is there any way we could do incell editing in the datagrid component instead of opening an edit component for each record. I know we can pass an edit component to the expand prop but that requires a ...
1
vote
0answers
38 views

What would cause a data grid error on an image column only when deployed on a Windows 10 machine?

I have a C# windows forms app with a data grid. One column of the grid is an image column which I put a bitmap in. It works fine on the Windows 10 machine I developed it on and when I deploy it on ...
0
votes
2answers
53 views

How to bind observable collection datagrid with textbox on double click?

I'm learning WPF using MVVM. I have a DataGrid which contains some information. The source of the data gird is a observable collection. I need to load the Information into textbox when I double ...
0
votes
1answer
25 views

Why new row can not be added in table with easyui datagrid

In my project, I use easyui, and i added toolbar in table. The head of page is: <script type="text/javascript" src="jsui/easyui-1.5.3/jquery.min.js"></script> <script type="text/...
0
votes
1answer
31 views

C# wpf TwoWay dynamic binding for DataGrid (DataGridCheckColumn and DataGridTextColumn)

Goal CheckBoxColumn TwoWay binding for access of user input. Problem description 1. Empty table (so object instance is not found) 2. How does MVVM know which instance of an object to use? Is there any ...
0
votes
0answers
34 views

WPF Datagrid AlternatingRowBackground

Lets assume I have an object public int Id { get; set; } public int EmployeeId { get; set; } public Employee Employee { get; set; } public String Note { get; set; } And I have the ...
0
votes
0answers
38 views

Cannot change checkbox value of the element, that is not showed by the full height

When I change the value of the last element on the screen, it selects the datagrid row and moves scrollbar down, but without value changing. It is happening because of the datagrid row's not fully ...
1
vote
0answers
54 views

DataGrid: strange column autosizing behavior on data change

A column with Width="*" does not shrink automatically when the adjacent column with Width="Auto" expands due to its data change. I want to show in DataGrid a list of objects with three properties (...
-1
votes
0answers
13 views

how I can show the sum of in a datagridview column with fillter Some of value are not numbers?

i want to show sum of in a datagridview column in Label But i have string value and null value in some of cell in my column And that makes me ٍError int sum2 = 0; for (int i = 0; i < ...

http://mssss.yulina-kosm.ru