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
0
votes
1 answer

Remove Band Separators when exporting CxGridBandedTableView to Excel

I have a TCxGrid (DevExpress) with a TCxGridDBBandedTableView. This view has 2 bands, and each band has its columns. I use the ExportGridToExcel (from DevExpress's cxGridExportLink unit), to expot the grid to excel. Example: Grid Configuration Band…
0
votes
1 answer

Refresh a tcxgrid without losing the current row selected/highlighted

Using Delphi XE2. I have a tcxgrid which is connected to a datasource, which is looking at a table in a database, the cxgrid is displaying fields and records from within that table. Does anyone know how to Refresh the tcxgrid without losing the…
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
1 answer

Filtering more than one record in database table throws up syntax error/access violation

Using Delphi XE2. I have a database software package which displays records from a table onto a cxgrid. I have implemented a filter button with at a click of it allows users to search for results using specific records. At the moment it only works…
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
1 answer

Modify the rightclick menu options of cxgrid

In cxGrid,where do you modify the menu options when you right click in the Grid? I would like to get rid of that "Right to left reading order","Show Unicode control characters","Insert Unicode control character","Open IME" and "Conversion". I dont…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
0 answers

cxGrid refresh footer value in code

When showing or hiding a column (in code) in the cxGrid that has a footer implemented (SUM),it does not refresh its value. How do you refresh the footer in code ? Using this : procedure TForm1.cxGrid2DBTableView1CustomDrawFooterCell( Sender:…
user3777264
  • 72
  • 1
  • 9
0
votes
2 answers

How to loop through records on a cxgrid - Delphi xe2

How do you loop through a cxgrids records? i.e. make delphi program go through/check each record in the cxgrid from top to bottom. I have a cxgrid which is displaying records from a tadquery which is talking to a database table if this helps in…
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
1 answer

Fields GetContentStyle not working

I dont know why this is not working on SQL Server Express 2014 : procedure TMainForm.cxGrid1DBTableView1DONEStylesGetContentStyle( Sender: TcxCustomGridTableView; ARecord: TcxCustomGridRecord; AItem: TcxCustomGridTableItem; var AStyle:…
user3927897
  • 611
  • 3
  • 10
  • 20
0
votes
0 answers

cxgrid's memo field keeps inserting new line

In cxGrid I have a field with properties of a memo. The field column Properties.EditAutoHeight is set to ieahDefault. The view DBTableView1 has following: OptionsView.CellAutoHeight = True OptionsBehavior.EditAutoHeight=eahRow However when I try…
user3927897
  • 611
  • 3
  • 10
  • 20
0
votes
2 answers

Delphi - How to get a image for a cxGrid column?

I have a TcxGrid component to show data of a MS Access table. One of this columns have a picture. The column "Properties" of this column is marked as "ButtonEdit". I don't want to use a BlobEdit. I want to create another form, for display this…
marciel.deg
  • 400
  • 3
  • 17
0
votes
3 answers

Create column on execute time in TcxGrid like tDbGrid in delphi

I use TcxGrid But I cant create fields on execution time because I have a pivot query and columns are variable Can I fill cxGrid like tDbGrid?
Rapunzo
  • 966
  • 5
  • 21
  • 42
0
votes
1 answer

cxgrid custom menuitem (open with) for Image field

In cxGrid i have a column which is "Image" type.(properties=Image,GraphicClassName=TJpegImage). To the PopUpMenuLayout - MenuItems I have added a CustomMenuItem called "Open With...". How can I implement this custom menu item so that it opens my…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
0 answers

cxgrid expand blobedit pict (picture)

I have a graphic field in cxGrid (Properties = BlobEdit, BlobEditKind = bekPict,PictureClassGraphicname = TJPEGImage).I tought it was going to expand to its natural size by setting PictureAutoSize = True but it wont. I tried increasing…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
1 answer

cxGrid prevent grouped delete

In my cxGrid I have records grouped by date. However, when a user selects a grouped date and hits delete all the records that were filed under that date get deleted. Is there a way to prevent this ? I would like the records to be deleted…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
2 answers

cxgrid color numbers in the grid using styles

I would like to apply a style to a column (on get content style) so all numbers in that column color to the selected style. Just the numbers, nothing else.That means that if a number is found within a text phrase it will get colored. Is this…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
1 answer

How to hide a row in cxGrid unbound mode

How can I hide a row in cxGrid unbound mode? It's been hours already and I can't figure it out. I googled it and failed.
Ago
  • 755
  • 7
  • 28