Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can we access cells ExpressQuantunGrid4(not Data Aware method) 1

Status
Not open for further replies.

jasvirsingh

Technical User
Oct 28, 2003
3
DE
hi
I am trying to include Express Quantum Grid in my delphi programs in place of the normal grid( as the former looks much better). But i can only access the cells thru 'Data aware' way.
For example in Normal delphi grids we can access the grid cells like Grid.cells[int,int]. isnt there any component in express quantum grid which gives me the same functionality?

expecting an early reply
with regards
jasvir singh
 
Code:
....

implementation
{$R *.dfm}
uses cxDataStorage;

procedure TForm1.Button1Click(Sender: TObject);
begin

  cxGrid1DBTableView1DBColumn1.DataBinding.ValueTypeClass := TcxStringValueType;
  cxGrid1DBTableView1DBColumn2.DataBinding.ValueTypeClass := TcxStringValueType;
  cxGrid1DBTableView1.DataController.RecordCount := 2;
  cxGrid1DBTableView1.DataController.BeginUpdate;
  cxGrid1DBTableView1.DataController.Values[0,0] := 'Cell A1';
  cxGrid1DBTableView1.DataController.Values[1,1] := 'Cell B2';
  cxGrid1DBTableView1.DataController.EndUpdate;
end;

-----
Hope it helps Jasvir.
Temo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top