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

extending cxGrid with cxgridDbTableview

I have created a component by extending cxGrid and added some required properties, I want to do same and add some extra functionalities to cxGridDBTableView, I tried extending the cxGridDBTableView and added properties, but I am not able to access…
userhi
  • 553
  • 1
  • 7
  • 27
0
votes
1 answer

TcxGrid how to get modified value and update the next column's value?

I am using XE2. I want to do when a user edits the Unit Price in a grid, auto re-calculate total price which is the next column. Which event I should use? I tried TCXGridTableView OnEditValueChanged, but I cannot get the modified value? the…
Eric Cheng
  • 477
  • 1
  • 9
  • 24
0
votes
1 answer

How to properly implement a Custom Locked State Image in cxgrid in Delphi?

I'm using Delphi 10.2 Tokyo and would like to implement a custom "locked state image" in a descendant of Tcxgrid (DevExpress VCL 18.2). I tried to override the DoPrepareLockedStateImage protected method as follows: function…
AnselmoMS
  • 467
  • 3
  • 18
0
votes
1 answer

Loosing previous selected data after Filtering a dataset in CxGrid

I am loosing previously selected lookupdata after Filtering a dataset which bound with the column in CxGrid of the type DBlookupcombox. please find below the details. We have a cxGrid with columns ID | Name | Place 1 | abc | Place1 2 | xyz …
mano
  • 308
  • 3
  • 19
0
votes
2 answers

disable a row in cxgrid

I want a row in cxgrid where UserRights = 3 disabled. I tried this suggestion but it does not seem to work : // MAKING A ROW READ ONLY procedure TForm1.cxGrid1DBTableView1InitEdit( Sender: TcxCustomGridTableView; AItem: TcxCustomGridTableItem; …
user3351050
  • 368
  • 3
  • 14
0
votes
1 answer

cxGrid: how to cast a cell to a combobox-object

i have a problem with my cxgrid. in my cxgrid there a different rows and columns which have comboboxes as properties. but how can i cast a special cell value to a combobox-object? for example: i want to set the itemindex of the combobox in row 1 and…
daniel
  • 1
  • 1
  • 2
0
votes
1 answer

Two cxGrids: cxGridDBTableView1 applies only to one grid?

I have two cxgrid's on my form (cxGrid1 and cxGrid2). Both have the NewItemRow.Visible. Now, I want to remove NewItemRow from cxGrid2. Calling : cxGridDBTableView1.NewItemRow.Visible:=False; removes NewItemRow from cxGrid1 and not from the one I…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
2 answers

Adding a checkbox to cxGridDBColumn (DateEdit)

I using Delphi BDS 2006 and have a DevExpress cxGridDBColumn with properties set to DateEdit and was wondering whether it is possible to add a checkbox to the displayed date time picker popup?
PDM
  • 503
  • 2
  • 12
  • 27
0
votes
1 answer

How to remove "Custom" filter from TcxGrid column filters?

I have a TcxGrid with some columns and data. Columns allow filtering: I want to remove the "Custom" option from the drop-down filter, but leave all the rest ([All] and auto-suggested). How do I do this?
Kromster
  • 7,181
  • 7
  • 63
  • 111
0
votes
3 answers

copy entire record and then insert it

This is a very short description how I enter the data into the database. procedure TMain_Form.AdvGlowButton1Click(Sender: TObject); begin MYQUERY.Close; MYQUERY.SQL.Clear; MYQUERY.SQL.Add('INSERT INTO MYTABLE (FOR_DATE,SOMETEXT)…
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
1 answer

Export cxGrid to excel not showing file type in SaveDialog window

This isn't a massive problem but I would like to know if I am doing something wrong. I have a cxgrid on a delphi form and at a click of a button I can export it to Excel. Code: TfrmMain.ExcelButtonClick(Sender: TObject); begin with SaveDialog do …
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
0 answers

Invalid argument error when scrolling across a cxgrid

I have a delphi form with a cxgrid on it. The cxgrid is connected to a datasource/query which is looking at a database table. When running the application and I scroll across the grid, the application crashes and displays the following error…
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
2 answers

cxGrid will not scroll upwards

I have encountered a strange issue with cxGrid. After executing a query to fetch all the records, the records show in the grid. Its a simple query: 'select * from mytable order by name asc' However,if I try and select the first record in the…
user3181689
  • 241
  • 6
  • 22
0
votes
1 answer

Updating field in cxGrid acting strange

I have a function to update a cxGrid made with help from answers to Loop through records on a cxgrid and update a field/column But it is sometimes acting a bit strange. If I open the form with the cxGrid and click the columnheader without doing…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
0
votes
1 answer

cxgrid expand grouped data using cxDateEdit

My displayed data in the cxGrid is grouped by date (collapsed) . Is there a way I can expand this grouped data "only" for a selected date using cxDateEdit for the occasion ? Right now,all I could manage is to collapes or expand all data using…
user763539
  • 3,509
  • 6
  • 44
  • 103