Top "Dbgrid" questions

Questions about Delphi visual component DBGrid might have this tag.

DBGrid get selected cell

I need to get the value of the selected cell of a DBGrid in Delphi. I have no idea how …

delphi dbgrid
Change DBGRID row color on field value in delphi

How to change color of dbgrid rows that have the same value on a field in delphi? for example all …

delphi colors dbgrid tdbgrid
How to Format a DBGrid Column to Display Two Decimal Places?

I would like to format specific cells to force two decimal places. The data is coming from an ElevateDB stored …

delphi formatting lazarus dbgrid elevatedb
Sort DBGrid by clicking column's title

Well, this seems a little tricky (if not imposible). I'm trying to make my DBGrid sort its data by clicking …

delphi sorting dbgrid
Delphi - restore actual row in DBGrid

D6 prof. Formerly we used DBISAM and DBISAMTable. That handle the RecNo, and it is working good with modifications (Delete, …

delphi dataset row dbgrid locate
Adjust Column width DBGrid

I have a TDBGrid. It works, but the columns shown are very large. How can I set an "auto-fix column …

delphi dbgrid
Keep the scrollbars hidden in a Delphi dbgrid (even on resize)

For our dbgrid we want the scrollbars to be constantly hidden. Since TDBGrid doesn't have a 'scrollbars' property, we use: …

delphi scrollbar c++builder dbgrid c++builder-xe
How to set active cell in TDBGrid?

I want to activate a cell in a TDBGrid by code. By "activate" I mean like the user clicked inside …

delphi dbgrid
how to color DBGrid special cell?

I have a column which have only "yes" and "no" values. I want if column value is "yes" then only …

delphi delphi-2010 dbgrid
change dbgrid options at runtime

I want to change the DBGrid.Option.I found the following code: DBGrid.Options:=DBGrid.Options + [dgEditing]; DBGrid.Options:=[dgEditing]; …

delphi delphi-xe2 dbgrid