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
0 answers

cxGrid edit added unbound column

I have added an unbound column in my cxGrid and set its property to checkbox. However at runtime I can not check or uncheck it in the displayed rows. It remains unresponsive. How can I correct that ? Is there a setting that controls this ?
user763539
  • 3,509
  • 6
  • 44
  • 103
0
votes
1 answer

Delphi Devexpress TcxGrid Scroll Events

I am using the cxGrid component with a TcxGridTableView. I need to get the offset distance of the scroll bar. I wonder there are scroll events that I can use to get this information? I'm looking for how much pixels were scrolled because I want to…
diogo
  • 1
  • 1
  • 2
0
votes
1 answer

I am not able to change TcxGrid fields values when dataset in insert mode

I am using delphi2010 and oracle 10g as a database My TcxGrid is conected to dataset (qryDONEMSEL -> TOraQuery) when I want to add something to database by clicking button I change dataset to insert mode BUT the fields in TcxGrid are not enabled…
Shahriar
  • 25
  • 3
  • 11
0
votes
2 answers

How to ...... hide columns of a CxGrid with drag and drop

How to popup a customization dialog to hide columns, like this:
0
votes
0 answers

CRUD form using TcxGrid not working after ApplyUpdates(0) using TClientDataSet

Im trying to create a CRUD form using a TcxGrid. My Components: TcxGrid -> TDataSource -> TClientDataSet -> TDataSetProvider -> TSQLQuery Query is select * from tt_BraUCFormatoSUI, Provider has UpdateMode=upWhereAll, ClientDataset has 2 fields:…
BaldwinIV
  • 147
  • 10
0
votes
1 answer

How to fill combobox in cxGrid depend on column value in same cxGrid

myComboboxDatasetSQLQuery: select 0 as priv_id, 'нет' as priv_name from dual union all select 1 as priv_id, 'просмотр' as priv_name from dual union all select 2 as priv_id, 'изменение' as priv_name from dual union all select 3 as priv_id,…
iTux
  • 1,946
  • 1
  • 16
  • 20
0
votes
0 answers

Tcxgriddbtableview - Sum several columns in a certain row

I have a tcxgriddbtableview with multiple columns for amounts. I want to include subtotals in each row. Is it possible to define a column in such a way that it automatically totals several columns? Totalling already happens in SQL, but it should…
0
votes
1 answer

How can make a group of data from 2 tables using a tcxGrid in Delphi?

I'm trying to implement a functionality using TcxGrid in Delphi RAD STUDIO: I have 2 tables, CARS BRANDS and MODELS, I want to show all the Car Brands and Models (on the grid), and let the user pick any Cars brands (BMW, Mercedez, Ferrari)…
BaldwinIV
  • 147
  • 10
0
votes
0 answers

Maintain focused group row

Using TcxGrid, when adding/removing grouped columns to the grid, the focused row jumps to where the 'detail' record belongs to after the new grouping layout. This is fine if the focused row was a data row. However, it's very confusing if the…
Petey
  • 49
  • 3
0
votes
1 answer

Grade disappears after pressing the down key

I created an extend in a class to set the column type for devexpress's cxgrid grid. There is no problem with typing, but when I press the key below, the grid simply disappears. After disappearing, it will only appear if you press a key above or…
0
votes
0 answers

Delphi cxGrid How to prevent the creation of a second row of headers when moving columns?

Delphi cxGrid. How to prevent the creation of a second row of headers when moving columns?
0
votes
1 answer

Change font color on a DevExpress TcxGrid row depending on the value of a field in the displayed record

I use the event OnCustomDrawCell of TcxGridDBDataController to change the font row color of a DevExpress TcxGrid to red if a certain Field of the displayed record (e.g 'Debit' has value 1) if…
0
votes
2 answers

How to get Id values for the adjacent records in TcxGrid (TcxGridDBTableView)

I have DevExpress cxGrid and I would like to get the Ids of the adjacent records. I can use them in the following use case: user deletes focused record and I position the (grid view) cursor on one of the adjacent records (as determined but the…
TomR
  • 2,696
  • 6
  • 34
  • 87
0
votes
0 answers

How to fix the DevExpress TcxGrid GridMode using a TSQLDataSet linked to a TSQLQuery?

I'm trying to load about 500k+ data linked to an Oracle DB on my TcxGrid, I want to make the process faster using the GridView "GridMode" property, but I need to do that using a TSQLQuery (DBExpress Component) and it just doesn't work, Gridmode…
BaldwinIV
  • 147
  • 10
0
votes
0 answers

How to show custom number of records on a TcxGrid

I'm trying to show just 1000 records from a query that has 100k+ records on a TcxGrid from the DeveloperExpress VCL V2011 Vol 2.4, I just found on internet that you can use a grid property on DBGridTableView -> DataController -> GridMode, setting it…
BaldwinIV
  • 147
  • 10