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
- TObject
- tpersistent
- tarrayprop
- tpersistentarrayprop
- townedpersistentarrayprop
- tindexpersistentarrayprop
- tgridarrayprop
- tcols
- tdatacols
Overview
Fields
frowstate: trowstatelist; |
|
fscrollsize: integer; |
|
ffirsthscrollindex: integer; |
Methods
procedure beginchangelock; |
|
procedure endchangelock; |
|
procedure datasourcechanged; virtual; |
|
procedure begindataupdate; override; |
|
procedure enddataupdate; override; |
|
procedure dosizechanged; override; |
|
procedure countchanged; override; |
|
procedure mergechanged(const arow: integer); |
|
procedure rearange(const list: integerarty); override; |
|
procedure setcount1(acount: integer; doinit: boolean); override; |
|
procedure setrowcountmax(const value: integer); |
|
procedure rowcountchanged(const countbefore: int32; const newcount: int32); override; |
|
procedure createitem(const index: integer; var item: tpersistent); override; |
|
procedure updatelayout; override; |
|
function colatpos(const x: integer; const getscrollable: boolean = true): integer; |
|
procedure moverow(const fromindex,toindex: integer; const acount: integer = 1); override; |
|
procedure insertrow(const index: integer; const acount: integer = 1); override; |
|
procedure deleterow(const index: integer; const acount: integer = 1); override; |
|
procedure changeselectedrange(const start,oldend,newend: gridcoordty; calldoselectcell: boolean); virtual; |
|
procedure beginselect; |
|
procedure endselect; |
|
procedure decselect; |
|
function hassortstat: boolean; |
|
function hasdatastat: boolean; |
|
procedure dostatread(const reader: tstatreader; const aorder: boolean); virtual; |
|
procedure dostatwrite(const writer: tstatwriter; const aorder: boolean); virtual; |
|
function cancopy: boolean; |
|
function canpaste: boolean; |
|
procedure updatedatastate(var accepted: boolean); overload; virtual; |
|
constructor create(aowner: tcustomgrid; aclasstype: gridpropclassty); |
|
destructor destroy; override; |
|
function sortfunc(const l,r: integer): integer; |
|
function updatedatastate: boolean; overload; |
|
procedure move(const curindex,newindex: integer); override; |
|
function previosvisiblecol(aindex: integer): integer; |
|
function nextvisiblecol(aindex: integer): integer; |
|
function rowempty(const arow: integer): boolean; |
|
function colbyname(const aname: string): tdatacol; |
|
function datalistbyname(const aname: string): tdatalist; |
|
function colsubdatainfo(const aname: string): subdatainfoty; |
|
procedure clearselection; |
|
function hasselection: boolean; |
|
function selectedcellcount: integer; |
|
function hascolselection: boolean; |
|
procedure setselectedrange(const rect: gridrectty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; |
|
procedure setselectedrange(const start,stop: gridcoordty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; virtual; |
|
procedure mergecols(const arow: integer; const astart: longword = 0; const acount: longword = bigint); |
|
procedure unmergecols(const arow: integer = invalidaxis); |
|
function defaultrowheight: integer; |
Properties
property lastvisiblecol: integer read flastvisiblecol; |
|
property cols[constindex:integer]: tdatacol read getcols
write setcols; |
|
property selectedrowcount: int32 read fselectedrowcount; |
|
property selectedcells: gridcoordarty read getselectedcells
write setselectedcells; |
|
property selectedrows: integerarty read getselectedrows
write setselectedrows; |
|
property rowselected[constindex:integer]: boolean read getrowselected
write setrowselected; |
|
property selected[constcell:gridcoordty]: boolean read Getselected write Setselected; |
|
property rowstate: trowstatelist read frowstate; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property sortcol: integer read fsortcol write setsortcol default -1; |
|
property sortcoldefault: integer read fsortcoldefault
write setsortcoldefault default -1; |
|
property newrowcol: integer read fnewrowcol write setnewrowcol default -1; |
|
property width; |
|
property options default defaultdatacoloptions; |
|
property options1 default defaultdatacoloptions1; |
|
property font; |
|
property fontselect; |
|
property linewidth; |
|
property linecolor default defaultdatalinecolor; |
|
property linecolorfix; |
Description
Fields
frowstate: trowstatelist; |
|
fscrollsize: integer; |
|
ffirsthscrollindex: integer; |
|
Methods
procedure beginchangelock; |
|
procedure endchangelock; |
|
procedure datasourcechanged; virtual; |
|
procedure begindataupdate; override; |
|
procedure enddataupdate; override; |
|
procedure dosizechanged; override; |
|
procedure countchanged; override; |
|
procedure mergechanged(const arow: integer); |
|
procedure rearange(const list: integerarty); override; |
|
procedure setcount1(acount: integer; doinit: boolean); override; |
|
procedure setrowcountmax(const value: integer); |
|
procedure rowcountchanged(const countbefore: int32; const newcount: int32); override; |
|
procedure createitem(const index: integer; var item: tpersistent); override; |
|
procedure updatelayout; override; |
|
function colatpos(const x: integer; const getscrollable: boolean = true): integer; |
|
procedure moverow(const fromindex,toindex: integer; const acount: integer = 1); override; |
|
procedure insertrow(const index: integer; const acount: integer = 1); override; |
|
procedure deleterow(const index: integer; const acount: integer = 1); override; |
|
procedure changeselectedrange(const start,oldend,newend: gridcoordty; calldoselectcell: boolean); virtual; |
|
procedure beginselect; |
|
procedure endselect; |
|
procedure decselect; |
|
function hassortstat: boolean; |
|
function hasdatastat: boolean; |
|
procedure dostatread(const reader: tstatreader; const aorder: boolean); virtual; |
|
procedure dostatwrite(const writer: tstatwriter; const aorder: boolean); virtual; |
|
function cancopy: boolean; |
|
function canpaste: boolean; |
|
procedure updatedatastate(var accepted: boolean); overload; virtual; |
|
constructor create(aowner: tcustomgrid; aclasstype: gridpropclassty); |
|
destructor destroy; override; |
|
function sortfunc(const l,r: integer): integer; |
|
function updatedatastate: boolean; overload; |
|
procedure move(const curindex,newindex: integer); override; |
|
function previosvisiblecol(aindex: integer): integer; |
|
function nextvisiblecol(aindex: integer): integer; |
|
function rowempty(const arow: integer): boolean; |
|
function colbyname(const aname: string): tdatacol; |
|
function datalistbyname(const aname: string): tdatalist; |
|
function colsubdatainfo(const aname: string): subdatainfoty; |
|
procedure clearselection; |
|
function hasselection: boolean; |
|
function selectedcellcount: integer; |
|
function hascolselection: boolean; |
|
procedure setselectedrange(const rect: gridrectty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; |
|
procedure setselectedrange(const start,stop: gridcoordty; const value: boolean; const calldoselectcell: boolean = false; const checkmultiselect: boolean = false); overload; virtual; |
|
procedure mergecols(const arow: integer; const astart: longword = 0; const acount: longword = bigint); |
|
procedure unmergecols(const arow: integer = invalidaxis); |
|
function defaultrowheight: integer; |
|
Properties
property lastvisiblecol: integer read flastvisiblecol; |
|
property cols[constindex:integer]: tdatacol read getcols
write setcols; |
|
property selectedrowcount: int32 read fselectedrowcount; |
|
property selectedcells: gridcoordarty read getselectedcells
write setselectedcells; |
|
property selectedrows: integerarty read getselectedrows
write setselectedrows; |
|
property rowselected[constindex:integer]: boolean read getrowselected
write setrowselected; |
|
property selected[constcell:gridcoordty]: boolean read Getselected write Setselected; |
|
property rowstate: trowstatelist read frowstate; |
|
property readonly: boolean read getreadonly write setreadonly; |
|
property sortcol: integer read fsortcol write setsortcol default -1; |
|
property sortcoldefault: integer read fsortcoldefault
write setsortcoldefault default -1; |
|
property newrowcol: integer read fnewrowcol write setnewrowcol default -1; |
|
property width; |
|
property options default defaultdatacoloptions; |
|
property options1 default defaultdatacoloptions1; |
|
property font; |
|
property fontselect; |
|
property linewidth; |
|
property linecolor default defaultdatalinecolor; |
|
property linecolorfix; |
|
Generated by PasDoc 0.16.0.