Questions tagged [xtragrid]

Grid control for Windows Forms applications from DevExpress

XtraGrid is a Windows Forms control built from C# by the company DevExpress. It is used for building very rich grid controls for the Windows(R) family of operating systems using the .NET framework. This component is part of WinForms Control Suites a product from DevExpress.

402 questions
0
votes
1 answer

how to update a datagridview on a Parent form from a Child Form C#

I'm quite a new C# programmer,it has been a month that ive started using C#, so far so good i might say, but im curently dealing with a simple situation , but i still dont get it to work , there is the scenario : I've 2 forms a Parent and a Child ,…
0
votes
1 answer

Developer Express XtraGrid - Won't display currency. Ignoring DisplayFormat

I'm having issues displaying data with the currency symbol in a Developer Express XtraGrid control. The column(s) in questions are float and decimal data types. Basically it seems to be ignoring formatting when ...either set through the…
Fetchez la vache
  • 4,940
  • 4
  • 36
  • 55
0
votes
2 answers

DevExpress XtraGrid - ImageButton in each row

I would like to add a custom method for each row i.e. an open detail form that show details for the grid row the button has been clicked for. Is there any easy solution for that? EDIT: What's wrong with my code to style the button? Image img =…
Mauro
  • 2,032
  • 3
  • 25
  • 47
0
votes
2 answers

Data binding in XtraGrid control

I want to bind a datasource in XtraGrid control but I am not able to do it. The problem is that I have created columns in XtraGrid at design time and I am binding records at run time using a user defined collection. I created four columns in the…
Awadhendra
  • 513
  • 3
  • 11
  • 22
-1
votes
3 answers

About devexpress xtragrid's datasource property

I'm using DevExpress's xtragrid control. In my application I'm setting the datasource property of gridcontrol at runtime but it not show my updated table value when my form displays. How to resolve this problem? I have one main form & other are…
Priyanka
  • 2,802
  • 14
  • 55
  • 88
-1
votes
1 answer

How do I prevent a copy of a grid's datasource from not getting changed when the grid's data changes?

This is a C# Windows Forms project. I have a grid on a form. To get the data for the grid, I run a SQL procedure and store the results in a class. I want to have a copy of that class so I know what the values were before the user changes them in…
boilers222
  • 1,901
  • 7
  • 33
  • 71
-1
votes
1 answer

how to change devexpress xtragrid autofiltercontion beginwith to contains?

I am using devexpress 16.1 version, enable autofilter mode using columnheader, when i enter values its filter by begin character, but i want to filter contains, for example , i want to get "manager", i will enter "nage". am tried with this, but…
Shankar
  • 45
  • 8
-1
votes
2 answers

DevExpress Xtra Grid Cell Image Repeating Again and again

I am setting image in particular cells of grid on some condition but the images is repeated or showed as tiles not single image is shown, i want to show just one, i am unable to figure out why this is happening. Screen shot: Here is my…
Ehsan Sajjad
  • 61,834
  • 16
  • 105
  • 160
-1
votes
1 answer

How to delete a row from DevExpress Grid

I bind my DevExpress XtraGrid to a SQL Server database. I use the default navigator to delete rows. I would like the database to reflect these deletions as well. How do I do this? Erik
Enrico
  • 1,937
  • 3
  • 27
  • 40
-1
votes
1 answer

Display Image to RepositoryPictureEdit in gridView of DevExpress...?

I am working in DevExpress Gridview Concepts. I require one User Image in my grid field. i m working in winforms platforms. My Datatable has only path of image. I dont know how to bind an image to repositoryPictureEdit Control Kindly provide any…
Sneha
  • 11
  • 1
  • 7
-3
votes
1 answer

Obtaining values from DevExpress GridControl

How to populate data into text fields whenever I click on the cell of the row? For standard DataGridView I can use the following the code void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { txtguard_id.Text =…
JM Olesco
  • 21
  • 2
  • 2
  • 9
-4
votes
2 answers

Devexpress XtraGrid columns Text Alignment

Devexpress XtraGrid columns Text Alignment .? Example:
1 2 3
26
27