Questions tagged [tcxgrid]

TcxGrid is a grid control presents data from a data storage in various ways. It belongs to the ExpressQuantumGrid Suite.

TcxGrid is a grid control presents data from a data storage in various ways. It belongs to the ExpressQuantumGrid Suite.

It allows to choose between a set of views:

  • Table View
  • Banded Table View
  • Card-Contact View
  • Layout View
  • Chart View
147 questions
8
votes
1 answer

How to do word wrap in a DevExpress TcxGrid?

I've got a long line of text that would be a lot easier to view if it would just word wrap around multiple lines, but I can't seem to find the option for it. Does anyone know how to enable word-wrap functionality?
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
5
votes
2 answers

Drag image change while drag over grid

I'm creating an instance of my custom DragObject on StartDrag: procedure TForm1.GridStartDrag(Sender: TObject; var DragObject: TDragObject); begin DragObject := TMyDragControlObject.Create(Sender as TcxGridSite); end; Lately on another grid on…
JustMe
  • 2,329
  • 3
  • 23
  • 43
4
votes
5 answers

How do I color a cxgrid based on table value?

I would like all rows where in particular field name 'hello' is present to get colored green. I tried this on customdrawcell: if abstable1.fieldbyname('somename').asstring = 'Hello' then cxgrid.canvas.brush.color:=clGreen But it wont work...…
user763539
  • 3,509
  • 6
  • 44
  • 103
4
votes
2 answers

How to auto-size a DevExpress TcxGrid

I've created a table from a TcxGrid with a simple table view. The data is being poked into the table using DataController.Values[n,m] as a simple string and I have some 10 columns that will show various string widths. The problem that I'm having is…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
3
votes
3 answers

How to get selected cell text from TcxGrid?

I'm using Devexpress TcxGrid and I'm trying to get selected cell text. My TcxGrid is connected to some kind of DataSource - I think it is DataControler. My goal is to get the text from cells in the entire row and place it in string divided with…
Jacek Kwiecień
  • 12,397
  • 20
  • 85
  • 157
3
votes
2 answers

tcxGrid using TList as a DataSource

I'm wondering if it's possible to bind a TList object as a cxGrid datasource. So what I have is a TList object containing various objects that i do not need to persist. I want a sort of GridView to serve as an overview of "selected items", and the…
fogedi
  • 1,915
  • 2
  • 14
  • 16
3
votes
2 answers

Table header groups in a cxgrid table view

I need to add a simple style to a Tableview based on a query in Delphi. I need it to look like this: I know there's a way to group by fields, but I can't seem to figure out how to add the 2 main title fields to the header of the table.
Jasper
  • 185
  • 1
  • 2
  • 7
3
votes
2 answers

How can I tell which TcxGrid row the user dropped something onto?

The user is dragging something over my TcxGrid component. How can I know which row it gets dropped on?
Douglas Lise
  • 1,466
  • 1
  • 20
  • 46
3
votes
4 answers

Delphi, what's the quickest record access method in a TcxGrid or TDataSet

I am using Delphi 2007 and the TcxGrid to show the contents of a file library. The database houses information about the type of file, name, path, and extension. In testing I am loading 1700 records into the grid through the TDataSet. I also make…
Tim
  • 1,549
  • 1
  • 20
  • 37
3
votes
2 answers

Add an individual column to cxGrid and use for selection purposes (checkbox)

I do not want to add a database field in my actual database to use for selection purpose so I thought to use cxGrid's ability to add a separate field in the grid. I add the field,name it (select),change it's property to that of 'checkbox' but it…
user763539
  • 3,509
  • 6
  • 44
  • 103
3
votes
2 answers

Hiding TcxEditButton for some rows in a TcxGrid

I have implemented a TcxGrid with some columns. The cells in the last column in this grid contains buttons of type TcxEditButton. The content of the grid is either entered by the user, or loaded from a textfile upon creating it's parent form. I…
Øystein
  • 1,163
  • 1
  • 12
  • 23
2
votes
4 answers

How can I fire an event handler after a value in a TcxGrid has changed?

I've got a DevExpress TcxGrid, with an event handler attached to its GridView's OnEditValueChanged event that's supposed to summarize some data in one of the columns. Problem is, this event gets fired during validation, before the updated value has…
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
2
votes
1 answer

How to get edited value from cxgrid lookupcombobox

Delphi-7, DevExpress ExpressQuantumGrid Suite For Delphi.BCB v5.8 Fianl I have a lookupcombobox column in cxGrid named emaillist_id. Where emaillist_id is KeyField and Email is ListField. A user can either choose an email from the list or type a new…
Igor Borisenko
  • 3,806
  • 3
  • 34
  • 49
2
votes
1 answer

How can I use filters if my TcxGrid is on GridMode True in Delphi

I want to be capable to filter the records loaded in my TcxGrid component, I have GridMode because the grid is kinda slow to show the records on my application form, but this mode doesn't let me use the filters of the column (just the default…
BaldwinIV
  • 147
  • 10
2
votes
1 answer

Delphi Add items to cxcombobox on cxgrid without using oninitpopup event for column

I am having a CXGrid with cxGridTableView, I have some 9 columns out of them some are having cxcomboBox , cxcheckcombobox, cxMemo etc. The existing grid is Orpheus table and the column is of type TOvcTCComboBox this adds items like this…
userhi
  • 553
  • 1
  • 7
  • 27
1
2 3
9 10