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
0
votes
2 answers

How can I add a Combobox column to a GridControl?

I have a grid control that loads data from a DataBase in a desktop Windows Forms application. But I also need a new local column with a combobox (with some items) that when I click it it save the information into another table of the…
0
votes
1 answer

Set activefilter using Include

I'm using Devexpress Gridcontrol. I'm trying to create a filter. Dim l as List(of Integer) Mygridview.ActiveFilterString="l.contains([id]) MyGridview.ActiveFilterEnabled=True But this is not working.The grid is not filtered. What can i do ?
antoni
  • 1
  • 6
0
votes
1 answer

How to update fields of a new record with data from a database?

I use:   - MS SQL Server 2014 database;   - Entity Framework. I am using GridControl with an "empty row" element. The user is trying to add a new entry in the GridControl. After adding a new record does not update the field, which is formed by the…
0
votes
1 answer

How can use buttons on devexpress Edit Form for execute some extra code

I have DevExpress GridControl with customized edit form for update or adding rows in VB.net. And the Problem: 1-When user click on Update button on popup edit form, how can execute some extra code with this event. for example do some thing in…
R. Salehi
  • 183
  • 1
  • 3
  • 13
0
votes
0 answers

The data is read very fast from sql server but displayed too slow on devexpress gridview

I'm using vb.net 2017 , Entity Framework 6 with sql server 2008r2. On my form I have a devexpress gridview. The gridview is bound to a Bindingsource ( MyBindingsource ) on design time. My table on database has around 2300 records. On runtime I have…
0
votes
2 answers

Devexpress Binding List not refreshing GridControl

I've got a windows form with a Devexpress GridControl whos Datasource is bound to FleetPreference.ManufacturerList where ManufacturerList is a BindingList and FleetPreference is a public property on the form. i.e. public class…
Brendan Gooden
  • 1,460
  • 2
  • 21
  • 40
0
votes
1 answer

How to enable append button to GridControl EmbeddedNavigator?

I have simple questions how to enable the append button in my GridControl. I have tried lot of things like: GridView.OptionsView.ShowButtonMode =…
0
votes
1 answer

How to parse data from sub DataGridView to main DataGridView in DevExpress?

I have enquiry on how to parse data of sub DataGridView to the main DataGridView. For example: I have a column named "abnormal" on the main DataGridView and I need the data for avail column from the sub DataGridView to display on the main…
Kit
  • 81
  • 9
0
votes
1 answer

In DevExpress, how do I change the value of a cell after the value of another cell is change?

I have a DevExpress.XtraGrid. I want the user to edit one of the columns and, after the edit is made, for the grid to update the value of another column. I tried using the event CustomRowCellEdit, but it threw an error whenever I added that event;…
boilers222
  • 1,901
  • 7
  • 33
  • 71
0
votes
1 answer

Delphi/DevExpress sync master/detail on checkbox state

Version info: Delphi 2010, Express Quantum GridSuite 6.56 I've inherited some code where the programmer has two grids in a master/detail (Customers->Devices) relationship, and he's made this work like so: He links his master TCXGrid datasource…
user3810626
  • 6,798
  • 3
  • 14
  • 19
0
votes
1 answer

Devexpress gridview moving multiple rows up and down based on multi selected rows

i have a gridview where we give the user the option to move rows, currently only the possibility to move 1 row up and down (on button click and drag/drop). We need to give the user the possibility to move multiple rows based on selected rows in…
chris
  • 161
  • 2
  • 10
0
votes
0 answers

AspxGridView Truncate Text with "Show More / Less" Buttons

There is an HTML UL list in my aspxgridview column. This column Encodes HTML and show the full list properly. But some grid rows can be very wide to show. So I would like to truncate the texts in some columns and users can view all text with "show…
nadir
  • 63
  • 1
  • 11
0
votes
1 answer

I cannot make the button in GridControl do the action

i have this code that add column and button to gridControl private void btnDown_Click(object sender, EventArgs e) { DataRow r = dt.NewRow(); r[0] = cmbProject.Text; r[1] = gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "Le…
M.Bouabdallah
  • 530
  • 10
  • 29
0
votes
1 answer

How do I change the color of the border of fields?

In the designer, the boundaries of the fields are drawn. When I click the program, the borders are not drawn. How to make that when you run the program, the borders of the fields were drawn?
0
votes
0 answers

Skip "add state" and go directly to "edit state"

I'm using DevExpress. I have a GridView / GridControl which's data I read and process when certain columns are edited. I use the GridControl's embedded navigator, and I noticed that when I add a new row (with the +) the new row is in a special mode…
user9730459