The grid control displays data by means of views. If the grid doesn't represent master-detail relationships, it displays a single View specified by the MainView property. If the main View's data source has child relations or you supply detail data manually, the grid control can display Views representing detail data. Thus, the grid control implements View management mechanisms to arrange them, provide data, specify common appearance, etc.
Questions tagged [gridcontrol]
306 questions
11
votes
2 answers
Data Annotation for column width
I'm binding a collection of objects to a DevExpress GridControl, and using 15.1 Data Annotations to customise the look. However I'm struggling to find anything about setting column size of a property. Is this possible through annotations?
Class with…

wonea
- 4,783
- 17
- 86
- 139
9
votes
1 answer
No Overload for method "GetValue" takes 1 arguments
I am trying to run a Devexpress Dxgrid sample program.
Which is here
The Vertical grid code is :
using DevExpress.Data;
using DevExpress.Xpf.Editors.Settings;
using DevExpress.Xpf.Grid;
using System;
using System.Collections;
using…

Vivek Saurav
- 2,235
- 4
- 25
- 46
7
votes
2 answers
How to fill width of last column at DevExpress GridControl?
I have DevExpress GridControl wich has 7 columns.
I tried to expand the last column to the right, but nothing happens.
Instead, the column stretches for some distance, and on the right edge of the grid, there is an empty column with no name, which…

Admiral Land
- 2,304
- 7
- 43
- 81
5
votes
2 answers
How to show image in gridview cell from image path without using cutomunboundcolumn event?
I have a grid view in which I want to show images whose paths are stored in a database. I have tried this code but it repeats only one picture in all rows. Can anyone help me to solve this problem? I don't want to use the customunboundcolumn event.…

Gagan
- 51
- 1
- 1
- 3
5
votes
1 answer
Devexpress winform Autogenerate columns
Please help me on how to access AutoGenerateColumns property of GridControl in devexpress just like datagridview in normal control of winform.

Simon Huynh
- 329
- 1
- 3
- 12
5
votes
2 answers
How to access Columns for DevExpress.XtraGrid.GridControl in C#
I try to get the ColumnNames and the current Vieworder of my GridControl.
The docu won't help me an the ".Net Reflector"-Tool also won't give me advice.
The tip from an other stackoverflowpost ( How to hide column of devexpress XtraGrid ) also won't…

Kevin Busch
- 191
- 1
- 4
- 17
4
votes
5 answers
hide headers in Devexpress gridcontrol
Can anyone tell me how to hide the header in DevExpress gridcontrol..?? I'm using C#.. All I want is a matrix of cells with NO header row with captions.

Vignesh
- 711
- 4
- 13
- 22
4
votes
6 answers
How to set the default Sort on a DevExpress GridView
On .net WinForm, DevExpress's GridControl/GridView bound on a DataSet, how to specify the default sort order? The one that is used when there is no visible GridColumn with a SortOrder.
By default, I have set a sorting on the view on my hidden…

Olivier de Rivoyre
- 1,579
- 1
- 18
- 24
4
votes
2 answers
How to make popup menu with right click on GridControl row?
I have a GridControl with some rows on my DevExpress interface. When I right-click on some row of the grid I want to pop-up the same kind of menu like when i right-click on my desktop(win 7), but only with 3 options - Cut, Paste and Copy.
How to…

Dominating
- 2,890
- 7
- 25
- 39
4
votes
1 answer
Updating database view using SqlDataAdapter
In my application, I want to bind GridControl to DataTable that contains data from multiple database tables (referenced with foreign keys).
I had a problem with updating data, since I was using SqlDataAdapter on a command that referenced multiple…

Marcin Bator
- 341
- 1
- 8
- 23
4
votes
2 answers
Edited cell was reset after change focus in gridview using devexpress 15.2 c#
i'm newbie in devexpress. when i add new row and fill some value to one cell, then i focus to other cell in same row i lost value in that cell.
This is my code (column name in gridview match with coumn in Datatable…

Alexander_bkhn
- 41
- 3
4
votes
1 answer
DevExpress WPF GridControl: How to set a default sort in XAML
I've the following GridControl of DevExpress:

J4N
- 19,480
- 39
- 187
- 340
4
votes
3 answers
DevExpress gridView Columns Add
I'm using DevExpress library.
I have problem with GridControl the following property is not appear :
gridView1.Columns.Add(); // not appear why ?
My references are:
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Views.Grid;
using…

SHADOW.NET
- 555
- 1
- 5
- 20
4
votes
3 answers
Checkbox is not checked in DevExpress GridControl using wpf
I am trying to work on DevExpress GridControl Checkbox column but problem is that when I binding the checkbox value in XAML code dynamically its not work perfectlly
below I provide you my demo project code :-
XAML Code:-

Jay Shukla
- 782
- 1
- 13
- 24
4
votes
11 answers
devexpress gridView.Rows?
I want to do it with Devexpress extension (gridview) :
string dataInCell = dataGridView1.Rows[i].Cells[j].Value.ToString();
Like :
gridView1.Rows[i].Cells[j]

AhmetSem
- 41
- 1
- 1
- 3