Class tdatacols

Unit

Declaration

type tdatacols = class(tcols)

Description

No description available, ancestor tcols description follows
No description available, ancestor tgridarrayprop description follows
No description available, ancestor tindexpersistentarrayprop description follows
No description available, ancestor townedpersistentarrayprop description follows
No description available, ancestor tpersistentarrayprop description follows
No description available, ancestor tarrayprop description follows

Hierarchy

Overview

Fields

Protected frowstate: trowstatelist;
Protected fscrollsize: integer;
Protected ffirsthscrollindex: integer;

Methods

Protected procedure beginchangelock;
Protected procedure endchangelock;
Protected procedure datasourcechanged; virtual;
Protected procedure begindataupdate; override;
Protected procedure enddataupdate; override;
Protected procedure dosizechanged; override;
Protected procedure countchanged; override;
Protected procedure mergechanged(const arow: integer);
Protected procedure rearange(const list: integerarty); override;
Protected procedure setcount1(acount: integer; doinit: boolean); override;
Protected procedure setrowcountmax(const value: integer);
Protected procedure rowcountchanged(const countbefore: int32; const newcount: int32); override;
Protected procedure createitem(const index: integer; var item: tpersistent); override;
Protected procedure updatelayout; override;
Protected function colatpos(const x: integer; const getscrollable: boolean = true): integer;
Protected procedure moverow(const fromindex,toindex: integer; const acount: integer = 1); override;
Protected procedure insertrow(const index: integer; const acount: integer = 1); override;
Protected procedure deleterow(const index: integer; const acount: integer = 1); override;
Protected procedure changeselectedrange(const start,oldend,newend: gridcoordty; calldoselectcell: boolean); virtual;
Protected procedure beginselect;
Protected procedure endselect;
Protected procedure decselect;
Protected function hassortstat: boolean;
Protected function hasdatastat: boolean;
Protected procedure dostatread(const reader: tstatreader; const aorder: boolean); virtual;
Protected procedure dostatwrite(const writer: tstatwriter; const aorder: boolean); virtual;
Protected function cancopy: boolean;
Protected function canpaste: boolean;
Protected procedure updatedatastate(var accepted: boolean); overload; virtual;
Public constructor create(aowner: tcustomgrid; aclasstype: gridpropclassty);
Public destructor destroy; override;
Public function sortfunc(const l,r: integer): integer;
Public function updatedatastate: boolean; overload;
Public procedure move(const curindex,newindex: integer); override;
Public function previosvisiblecol(aindex: integer): integer;
Public function nextvisiblecol(aindex: integer): integer;
Public function rowempty(const arow: integer): boolean;
Public function colbyname(const aname: string): tdatacol;
Public function datalistbyname(const aname: string): tdatalist;
Public function colsubdatainfo(const aname: string): subdatainfoty;
Public procedure clearselection;
Public function hasselection: boolean;
Public function selectedcellcount: integer;
Public function hascolselection: boolean;
Public procedure setselectedrange(const rect: gridrectty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload;
Public procedure setselectedrange(const start,stop: gridcoordty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; virtual;
Public procedure mergecols(const arow: integer; const astart: longword = 0; const acount: longword = bigint);
Public procedure unmergecols(const arow: integer = invalidaxis);
Public function defaultrowheight: integer;

Properties

Public property lastvisiblecol: integer read flastvisiblecol;
Public property cols[constindex:integer]: tdatacol read getcols write setcols;
Public property selectedrowcount: int32 read fselectedrowcount;
Public property selectedcells: gridcoordarty read getselectedcells write setselectedcells;
Public property selectedrows: integerarty read getselectedrows write setselectedrows;
Public property rowselected[constindex:integer]: boolean read getrowselected write setrowselected;
Public property selected[constcell:gridcoordty]: boolean read Getselected write Setselected;
Public property rowstate: trowstatelist read frowstate;
Public property readonly: boolean read getreadonly write setreadonly;
Published property sortcol: integer read fsortcol write setsortcol default -1;
Published property sortcoldefault: integer read fsortcoldefault write setsortcoldefault default -1;
Published property newrowcol: integer read fnewrowcol write setnewrowcol default -1;
Published property width;
Published property options default defaultdatacoloptions;
Published property options1 default defaultdatacoloptions1;
Published property font;
Published property fontselect;
Published property linewidth;
Published property linecolor default defaultdatalinecolor;
Published property linecolorfix;

Description

Fields

Protected frowstate: trowstatelist;
 
Protected fscrollsize: integer;
 
Protected ffirsthscrollindex: integer;
 

Methods

Protected procedure beginchangelock;
 
Protected procedure endchangelock;
 
Protected procedure datasourcechanged; virtual;
 
Protected procedure begindataupdate; override;
 
Protected procedure enddataupdate; override;
 
Protected procedure dosizechanged; override;
 
Protected procedure countchanged; override;
 
Protected procedure mergechanged(const arow: integer);
 
Protected procedure rearange(const list: integerarty); override;
 
Protected procedure setcount1(acount: integer; doinit: boolean); override;
 
Protected procedure setrowcountmax(const value: integer);
 
Protected procedure rowcountchanged(const countbefore: int32; const newcount: int32); override;
 
Protected procedure createitem(const index: integer; var item: tpersistent); override;
 
Protected procedure updatelayout; override;
 
Protected function colatpos(const x: integer; const getscrollable: boolean = true): integer;
 
Protected procedure moverow(const fromindex,toindex: integer; const acount: integer = 1); override;
 
Protected procedure insertrow(const index: integer; const acount: integer = 1); override;
 
Protected procedure deleterow(const index: integer; const acount: integer = 1); override;
 
Protected procedure changeselectedrange(const start,oldend,newend: gridcoordty; calldoselectcell: boolean); virtual;
 
Protected procedure beginselect;
 
Protected procedure endselect;
 
Protected procedure decselect;
 
Protected function hassortstat: boolean;
 
Protected function hasdatastat: boolean;
 
Protected procedure dostatread(const reader: tstatreader; const aorder: boolean); virtual;
 
Protected procedure dostatwrite(const writer: tstatwriter; const aorder: boolean); virtual;
 
Protected function cancopy: boolean;
 
Protected function canpaste: boolean;
 
Protected procedure updatedatastate(var accepted: boolean); overload; virtual;
 
Public constructor create(aowner: tcustomgrid; aclasstype: gridpropclassty);
 
Public destructor destroy; override;
 
Public function sortfunc(const l,r: integer): integer;
 
Public function updatedatastate: boolean; overload;
 
Public procedure move(const curindex,newindex: integer); override;
 
Public function previosvisiblecol(aindex: integer): integer;
 
Public function nextvisiblecol(aindex: integer): integer;
 
Public function rowempty(const arow: integer): boolean;
 
Public function colbyname(const aname: string): tdatacol;
 
Public function datalistbyname(const aname: string): tdatalist;
 
Public function colsubdatainfo(const aname: string): subdatainfoty;
 
Public procedure clearselection;
 
Public function hasselection: boolean;
 
Public function selectedcellcount: integer;
 
Public function hascolselection: boolean;
 
Public procedure setselectedrange(const rect: gridrectty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload;
 
Public procedure setselectedrange(const start,stop: gridcoordty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; virtual;
 
Public procedure mergecols(const arow: integer; const astart: longword = 0; const acount: longword = bigint);
 
Public procedure unmergecols(const arow: integer = invalidaxis);
 
Public function defaultrowheight: integer;
 

Properties

Public property lastvisiblecol: integer read flastvisiblecol;
 
Public property cols[constindex:integer]: tdatacol read getcols write setcols;
 
Public property selectedrowcount: int32 read fselectedrowcount;
 
Public property selectedcells: gridcoordarty read getselectedcells write setselectedcells;
 
Public property selectedrows: integerarty read getselectedrows write setselectedrows;
 
Public property rowselected[constindex:integer]: boolean read getrowselected write setrowselected;
 
Public property selected[constcell:gridcoordty]: boolean read Getselected write Setselected;
 
Public property rowstate: trowstatelist read frowstate;
 
Public property readonly: boolean read getreadonly write setreadonly;
 
Published property sortcol: integer read fsortcol write setsortcol default -1;
 
Published property sortcoldefault: integer read fsortcoldefault write setsortcoldefault default -1;
 
Published property newrowcol: integer read fnewrowcol write setnewrowcol default -1;
 
Published property width;
 
Published property options default defaultdatacoloptions;
 
Published property options1 default defaultdatacoloptions1;
 
Published property font;
 
Published property fontselect;
 
Published property linewidth;
 
Published property linecolor default defaultdatalinecolor;
 
Published property linecolorfix;
 

Generated by PasDoc 0.16.0.