Questions tagged [devexpress-gridcontrol]

Used for questions relating to the DevExpress WPF GridControl component.

DevExpress WPF GridControl is a powerful and flexible component used to visualize data in a table-style manner. It has lots of settings and can be thoroughly customized for various purposes.

85 questions
4
votes
3 answers

Reordering grouped rows in DevExpress GridControl using drag & drop

I'm using DevExpress controls in my WinForms project. I need to re-order the group rows(include their details) by drag and drop using BehaviorManager(in addition to re-ordering the rows inside the details). For drag&drop rows I wrote following…
Masoud
  • 8,020
  • 12
  • 62
  • 123
2
votes
2 answers

How to create DevExpress XPO dynamically with multiple primary-keys table?

I try example in this topic https://github.com/DevExpress-Examples/XPO_how-to-create-an-xpclassinfo-descendant-to-dynamically-build-a-persistent-class-structure-e1729 But It only works for single primary key tables. So i searched more Found…
deveton
  • 291
  • 4
  • 26
2
votes
1 answer

How to remove column from column chooser in devextreme-reactive react grid?

How to remove a column from column chooser in the devextreme-reactive react grid? Please note that I do not want to disable the column in the column chooser. I am using the following…
Jaskaran Singh
  • 2,392
  • 24
  • 39
2
votes
1 answer

How to show all inherited interfaces in GridControl

We have a GridControl and we are assigning the ItemsSource to a collection of interface items. The interface used in the collection inherits from another interface, and the problem we are running into is that only items directly defined in the top…
TJ Rockefeller
  • 3,178
  • 17
  • 43
2
votes
0 answers

Open DevExpress MVC Grid in Edit Mode with Custom Edit Button

I'm using the Devexpress MVC Grid and I've added two custom buttons (Edit & Copy) and I'm performing the operations. With copy button, I'm creating a new record with existing data and opening the grid in Add New Row Mode. Following is the…
Sahil Sharma
  • 1,813
  • 1
  • 16
  • 37
2
votes
0 answers

handle cancel event on cancel using devexpress/dx-react-grid

We are using https://devexpress.github.io/devextreme-reactive/react/grid/ in our application, we just want handling event on click of cancel button in the row, also it should preserve the last saved value.In our scenario there is a dropdown in cell…
Shobhit
  • 23
  • 6
2
votes
1 answer

How to hide some cards in DevExpress Master Detail DataGrid?

I'd like to show some (but not all) data in DataGrid filled with List of RowValues: public class RowValue { public int id; public string name; public List list1; public List list2; } public class A { public int id; …
2
votes
1 answer

Customizing filter dropdown

I'm a newbie to DevExpress controls. I've a boolean column(called "Valid") that is being shown in a DevExrpress GridContol in my C#/WPF application. When I click on the "key" icon on this column header,I see a dropdown with 4 choices namely:…
Sam
  • 45
  • 8
1
vote
1 answer

Customize Date format in XtraGridView in vb.net

It seems that the DateGridView1 is possible to change format of the date in specific column and I am using XtraGridView from DevExpress, May I ask that is it possible to change the date format in specific column in XtraGridView, I already coded but…
1
vote
1 answer

Focused Row by value DevExpress ASP.NET MVC Grid View

I need to have a focus on the Grid View but I would like to get it by value, for example if I have a Names column and I want to get the row for the name 'Walter' I would like to get the focus for that row. In this case, this is done by key of the…
1
vote
1 answer

How to check if there is any selected row in gridControl?

I'm beginner in using DevExpress tools. I can not find any property, that shows the gridControl's row selections state, to my if statement. Any suggestion?
LewoSoft
  • 73
  • 1
  • 2
  • 12
1
vote
0 answers

How to find DevExpress Grid Cell Active Editor element in WinAppDriver

I am using WinApp Driver to test windows forms application that has DevExpress grid. When I click one of the cells it brings up active editor which contains more controls. I can identify active editor or controls within it using Recorder. However i…
Yhlas
  • 411
  • 3
  • 5
  • 17
1
vote
1 answer

Hiding a column value before exporting to xls

I have a gridview, gridViewOrders, with master-detail relationship. I am hiding default values for the column OrderedDate in gridViewOrders_CustomUnboundColumnData event as follows if((DateTime)e.Value == DEFAULT_DATE) { e.Value…
Kkt2
  • 67
  • 1
  • 5
1
vote
2 answers

Devexpress Gridview - Allow certain rows to be editable, not all

I have a gridview that can have records loaded from an XML file. Now when this list gets loaded into the gridview, there might be some records in there that have a child object say Component inserted as new (that do not exist in our DB, already).…
Saad Khattak
  • 58
  • 1
  • 7
1
vote
1 answer

Changing Row Back Color on DevExpress GridView on condition

I have two grid view and a button on a click of button I copy data from gridView1 to gridView2 This is my code: private async void btnAdd_Click(object sender, EventArgs e) { int[] selectedRows = gridView1.GetSelectedRows(); for…
M.Bouabdallah
  • 530
  • 10
  • 29
1
2 3 4 5 6