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
1
vote
1 answer

Runtime ChartView Data Binding

as per question I am trying to dynamically create a cxGrid Chart View. What i want to do is creating a single series and N groups. I cannot use the designer Data Binding since i am dynamically reading from a query and creating the Client Data Set…
1
vote
1 answer

daysbetween difference between two dates in the grid

I am trying to calculate daysbetween difference between two dates in the grid. This kind'a works but produces at first strange result: This is Oncalculate fields event of the TEMP table: TEMP.FieldByName('DAYS').asstring :=…
user763539
  • 3,509
  • 6
  • 44
  • 103
1
vote
0 answers

Export pictures from Delphi cxGrid(or just from cxImage) to Excel

I have task to export cxGrids with pictures from different forms of Delphi app. Now for exporting picture I use clipboard by following way Clipboard.Assign(Picture), then I select column and use method Excel.Selection.PasteSpecial for pasting…
Anton Tokmakov
  • 689
  • 4
  • 14
1
vote
1 answer

How do I get the results of a MySQL Query to display in a cxGrid?

I'm using Delphi 5, and I want to display the results of a MySQL query in a cxGrid. I have the cxGrid, cxGridLevel, and cxGridDBTableView set up the way they default to when added to a form. The DataController.DataSource for the cxGridDBTableView is…
Keila
  • 113
  • 6
1
vote
1 answer

Hiding TcxGridLevel in TCXGrid depending on master record values

I have a TcxGrid which consists of a master TcxGridLevel and 2 child TcxGridLevels (all of which use a TcxGridDBTableView). I would like to hide one of the child levels depending on the value of the master level record values. How do I go about…
PDM
  • 503
  • 2
  • 12
  • 27
1
vote
1 answer

How to prevent DevExpress TcxGrid/TcxDBDataController from full reload of data after simple post?

I am using DevExpress TcxGrid in Delphi 2009 application (that's right, 100 years old IDE) and I have the following call stack (from madExcept): SplendidSoft.exe SplendidDMU 1051 +3…
TomR
  • 2,696
  • 6
  • 34
  • 87
1
vote
1 answer

Can ShortCut-Key, that has been processed by Delphi TAction, be allowed to propagate further to other components?

Core problem: I don't like the way how TcxGrid delete (that is initiated by the default Ctrl+Del shortcut key for the TcxGrid or by the Delete button of the cx-navigator) is working: it is simple and direct call to the delete of the underlying…
TomR
  • 2,696
  • 6
  • 34
  • 87
1
vote
1 answer

How to use subfields from ADT fields in cxGrid?

I',m trying to use some ADT subfields added in a TFDQuery in a TcxGrid. When i add a column using a subfield from a ADT Field, the column don't show the field value and the field is Ready Only. How to use correctly this field type in a cxgrid? how…
AnselmoMS
  • 467
  • 3
  • 18
1
vote
2 answers

cxGrid new record on last field Enter

I'm struggling to make a TcxGrid to append a new record whenever the user presses Enter key on last field of the current record, however I didn't find any property that might help me achieve this. I tried setting the OnKeyDown event of the grid…
user497849
1
vote
1 answer

Delphi, cxGrid setting a column value and update the database

I read some data from a table and copy the data to a column in a cxGrid and then I want to update this directly to the database. Hows that possible? I've tried using setEditValue but that one requires a parameter of type: TcxDataEditValueSource =…
larand
  • 773
  • 1
  • 9
  • 26
1
vote
1 answer

Delphi, expand grouped by grid by default

I have this procedure for a grid in Delphi, and I need to add this property to expand all collapsed grouped by data in the grid. procedure TProjectForm.dxDBGridEventDrawCell( Sender: TcxCustomGridTableView; ACanvas: TcxCanvas; AViewInfo:…
AM AM
  • 55
  • 1
  • 6
1
vote
1 answer

How to change TcxGridColumn's PopupWidth in runtime?

I'm using a TcxGridColumn which works as a Memo(blobEditKinf = bekMemo), the properties PopupHeight and PopupWidth on the RepositoryItem are fixed at 200/250, how can I change this to another value in runtime if I can't access those properties in…
1
vote
3 answers

Disable grouping when click header column in DevExpress's VCL TcxGrid

When clicking on the title column header, TcxGridDBtableView automatically groups by that column. I don't want that, I want to order by that column. I want it to be grouped by that column when accessed by menu (TcxGridPopupMenu-> Goup by this…
NizamUlMulk
  • 386
  • 1
  • 4
  • 21
1
vote
1 answer

How to access selected item in TcxEditRepositoryComboBoxItem when looping cxGrid?

I have a save button on my form which loops through all rows of the tcxgrid and reads its values. I'm trying to read the value of a combo box I have in one of the columns, but I need to read the Key value not the text of it. for I := 0 to…
Renato Herrera
  • 191
  • 1
  • 11
1
vote
1 answer

How resize a cxgrid with the mouse?

I have 4 cxgrid into a cxTabSheet, 3 aligned albottom and 1 aligned alClient... When the mouse is over the edge of any cxgrid, the cursor mouse doesn´t change to the crSize(NS, WE, NESW, NWSE) and cannot select the border of grid for drag the mouse…
NizamUlMulk
  • 386
  • 1
  • 4
  • 21
1 2
3
9 10