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

cxgrid : ApplyBestFit jerking

I run this query : procedure TForm1.cxButton1Click(Sender: TObject); begin cxGrid1DBTableView1.ClearItems; DataModule2.ACRQuery1.Close; DataModule2.ACRQuery1.SQL.Clear; DataModule2.ACRQuery1.SQL.Text :=…
user763539
  • 3,509
  • 6
  • 44
  • 103
1
vote
1 answer

cxgrid highlight (or color) changed cell on form closequery

On closequery of the form I have : if MessageDlg('Close program ?', mtConfirmation, [mbYes,mbCancel],0) <> mrYes then CanClose := False else if DataModule2.mytable.State in [dsEdit,dsInsert] then if MessageDlg('Save changes…
user763539
  • 3,509
  • 6
  • 44
  • 103
1
vote
3 answers

Set style in cxGrid based on data from all rows

I have a few grids where users enters from-to dates, and would like to set background colour on rows with date-interval that overlap other rows date-interval. Now I'm using oncalc event on the dataset to set an overlap-flag, but it is a slow…
Ove Halseth
  • 431
  • 5
  • 13
1
vote
1 answer

Hiding devexpress editors in filterrow

I have a TcxGrid where I have a filter defined on, but since I have some checkboxes and buttons in the grid, they are also shown in the filterrow. I have tried almost everything to get rid of them, but nothing works. The answers from DevExpress are…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
1
vote
1 answer

Allow only Negative number in CXGrid

Im working in Delphi 2006 with devexpress. I have a cxGrid. I want to restrict the entry of values for a negative number column, my probleme is how can I test the position of '-' when adding it the cell Is some simple way to allow only negative…
mimou_2009
  • 47
  • 7
1
vote
1 answer

Load dataset / query faster

I have an application when at the click of a button all records from a database table get loaded into a cxGrid (via tadquery / datasource). The number of records will increase as users insert them. I was just wondering if there is anything I need to…
6String_Coder
  • 517
  • 10
  • 30
1
vote
1 answer

Remove "assign from camera" option from popup menu in cxGrid

In cxGrid,when right clicking inside a blob field with your right mouse button you get the standard popup menu : How can I remove the "Assign from camera option" ? I know there used to be such an option but now I can not find it anywhere.…
user763539
  • 3,509
  • 6
  • 44
  • 103
1
vote
1 answer

Call Onclick event for cxGrid Navigator buttons

How does one Call the Onclick event for cxGrid Navigator buttons? I can't seem to find it. Screenshot below... Thanks,
Sharpie
  • 373
  • 2
  • 15
  • 34
1
vote
2 answers

Change integer field in db table to display as string on cxgrid

I have a delphi form with a cxgrid on it, the grid is connected to a query/datasource. If a field in the database table is an Integer, is there anyway of me displaying the integer as a string on the cxgrid column? e.g. 1 = January 2 = February …
Sharpie
  • 373
  • 2
  • 15
  • 34
1
vote
2 answers

Filter ClientDataSet by more than one Field

The following code allows me to filter a clientdataset by one field: begin dmodule.cds.DisableControls; try dmodule.cds.Filtered := False; dmodule.cds.FilterOptions := [foCaseInsensitive,foNoPartialCompare]; dmodule.cds.Filter := 'Field LIKE…
Sharpie
  • 373
  • 2
  • 15
  • 34
1
vote
2 answers

Loop through records on a cxgrid and update a field/column

I have a cxGrid where I apply a filter to select certain records. When that is done I want to be able to update a field/column in the grid to mark each record that is to be used for the next operation. I haven't been able to figure this out Maybe I…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
1
vote
2 answers

Search database table by record fields and display record on cxgrid

What is the best way to allow a user to search for a record in a database table by typing text into a tedit box clicking a button then the results will then display onto a tcxgrid. I have a tadquery/datasource that is looking at a table which…
Sharpie
  • 373
  • 2
  • 15
  • 34
1
vote
2 answers

How to add a hyperlink column to a TcxGrid (Developer express grid)

Hi In Delphi I've managed (!) to add a column to a TcxGrid table view that appears as a hyperlink (instead of a simple string). To do this, you simply edit 'properties' of the column and choose 'hyperlink'. The cell now shows a hyperlink style…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
1
vote
1 answer

Delphi code to create TcxGrid GroupSummaries at runtime

I have code that creates summary footers at runtime for numeric columns, but I can't get the group summary results to show. I've looked at How to create group summaries at runtime and How to set group summary values and How can create summary footer…
John Kaster
  • 2,509
  • 1
  • 33
  • 40
1
vote
1 answer

sometimes CxGrid column looses RepositoryItem property

I am using delphi xe2 (fully updated) and Express QuantumGridSuite 13.2.2 . I've much columns on grid and i set RepositoryItem for some columns. EditREpository component is on another form. Some times that columns repositoryItem property is clearing…
AhmetSinav
  • 55
  • 1
  • 2
  • 9