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
18
votes
7 answers

How to get the selected row values of DevExpress XtraGrid?

Consider the following picture I get the selected row values in the three textboxes shown in the figure when i click a cell using following code. void dataGridView1_CellClick_1(object sender, DataGridViewCellEventArgs e) { TBGRNo.Text =…
kashif
  • 3,713
  • 8
  • 32
  • 47
13
votes
2 answers

How to disable row header in devexpress xtragrid

Hai all, I want to know how to disable row header in Devexpress xtragrid (grid control ) . In normal we are disabling the property of DataGrid by row header visbile into false.But how to disable in Devexpress. Please Help EDIT
Vyasdev Meledath
  • 8,926
  • 20
  • 48
  • 68
10
votes
2 answers

How can I change font color in gridview DevExpress c#

How can I change the font color on gridview of DevExpress? All the solutions I have found are about changing the forecolor and the backcolor.. I want to have a red font in case a value in a cell is negative. Any suggestion?
Stavros
  • 5,802
  • 13
  • 32
  • 45
9
votes
1 answer

How to get clicked cell column in DevExpress XtraGrid

I can't get column name of clicked cell in GridControl of XtraGrid. How can I do that? I'm handling GridView.Click event.
Nate
  • 827
  • 3
  • 18
  • 29
8
votes
2 answers

How to format column to show percent (%) in the xtragrid

I have a xtragrid with values from a stored procedure. I am getting the values in float (0.23) and I want to display in percent (23%). What would be the best way to do it in C#? before after
Stavros
  • 5,802
  • 13
  • 32
  • 45
7
votes
3 answers

XtraGrid not refreshing after updates to its data source

I have an XtraGrid control on a windows form, bound to an object set as follows: clientListBindingSource.DataSource = ObjectContext.Clients; Where ObjectContext is a normal EF context. To edit a client, I pass the selected row's Client object to my…
ProfK
  • 49,207
  • 121
  • 399
  • 775
7
votes
2 answers

DevExpress XtraGrid checkbox check not registered unless focus changes

We have a databound XtraGrid on our Windows form. One of the columns is a check box. The problem is as follows: when users check the checkbox and click OK button, the checkbox, while visibly checked, is not considered checked by the grid. When I do…
Alex Polkhovsky
  • 3,340
  • 5
  • 29
  • 37
7
votes
3 answers

How to change background color of a cell in Devexpress Grid?

I have a devexpress xtragrid with 40 columns. I compare each cell value with other and if it is different then I want to change the cell background color. I try with GridViewInfo but it only takes the columns that are visible on the screen.But I…
Lavy
  • 179
  • 1
  • 2
  • 10
6
votes
1 answer

DevExpress XtraGrid set FocusedRowHandle and then scroll focused row into view?

I have an XtraGrid with ~500 rows in it. I can set the FocusedRowHandle to, say, row 245. But is there a method that will scroll that now-focused row into view if it's currently not visible? DevExpress.XtraGrid.Views.Base.ColumnView vw; vw =…
Tim
  • 8,669
  • 31
  • 105
  • 183
6
votes
4 answers

How to hide column of devexpress XtraGrid

Hai all, Am using devexpress XtraGrid in C#.NET application.On run time i want to hide 1 column of XtraGrid and access that column in code behind page.And please help to access rows and columns of XtraGrid. Thank You
Vyasdev Meledath
  • 8,926
  • 20
  • 48
  • 68
6
votes
1 answer

Firebird Slow performance when ORDER BY

I have a view called VW_PURCHASE_ORDER_LIST. It has about 200,000 records total. It takes 16ms to run the query: select first 128 * from VW_PURCHASE_ORDER_LIST However when i use the order by statement it takes much longer...about 9s select first…
Beach
  • 93
  • 5
6
votes
4 answers

XtraGrid Suite - is there a way to add a button or hyperlink to a cell?

I'm working with the XtraGrid Suite made by DevExpress. I can't find any sort of functionality to do this, but I'm curious if you can add a button or hyperlink to a grid cell. Context: I've got an Events list. Each Event has a Time, Start/End, and a…
calico-cat
  • 1,324
  • 6
  • 20
  • 36
6
votes
1 answer

DevExpress XtraGrid RepositoryItemButtonEdit event is not firing

I have added a new ButtonEdit column to my gridview, I turned buttons to ImageButton. I added button_click event but event is not firing. Should I bound - unbound something to my columnbutton? Here are the properties: // //…
cihadakt
  • 3,054
  • 11
  • 37
  • 59
6
votes
1 answer

Removing the Drilldown Plus Icon (+) from XtraGrid GridView's MasterRow when ChildRow Has No Data

This is related to a DevExpess XtraGrid's GridView. I need to remove the drilldown plus icon (+) from any MasterRow in a GridView that doesn't have any data for it's ChildRow. Currently, all the rows (MasterRows) in my GridView display the drilldown…
Marwan مروان
  • 2,163
  • 8
  • 30
  • 40
5
votes
1 answer

Autoheight of vertical column header in C# using DevXpress

I used this http://www.devexpress.com/Support/Center/p/Q233111.aspx (the code is in VB so I converted it to C#) to get vertical column headers. I get the vertical headers but my problem is some of them doesn't fit, so they are not fully visible. Is…
Eternal Noob
  • 2,717
  • 5
  • 27
  • 41
1
2 3
26 27