mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-23 02:09:27 +02:00
* Move published properties to new class TJSONDataset
This commit is contained in:
parent
a3ea761606
commit
38f9b72225
@ -36,6 +36,32 @@ type
|
||||
property Root : String Read FRoot Write FRoot;
|
||||
// property IDField
|
||||
property IDField : String Read FIDField Write FIDField;
|
||||
published
|
||||
Property FieldDefs;
|
||||
// redeclared data set properties
|
||||
property Active;
|
||||
property BeforeOpen;
|
||||
property AfterOpen;
|
||||
property BeforeClose;
|
||||
property AfterClose;
|
||||
property BeforeInsert;
|
||||
property AfterInsert;
|
||||
property BeforeEdit;
|
||||
property AfterEdit;
|
||||
property BeforePost;
|
||||
property AfterPost;
|
||||
property BeforeCancel;
|
||||
property AfterCancel;
|
||||
property BeforeDelete;
|
||||
property AfterDelete;
|
||||
property BeforeScroll;
|
||||
property AfterScroll;
|
||||
property OnCalcFields;
|
||||
property OnDeleteError;
|
||||
property OnEditError;
|
||||
property OnFilterRecord;
|
||||
property OnNewRecord;
|
||||
property OnPostError;
|
||||
end;
|
||||
|
||||
{ TExtJSJSONObjectDataSet }
|
||||
|
@ -185,6 +185,9 @@ type
|
||||
function GetFieldData(Field: TField; Buffer: TDatarecord): JSValue; override;
|
||||
procedure SetFieldData(Field: TField; var Buffer: TDatarecord; AValue : JSValue); override;
|
||||
function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Longint; override;
|
||||
end;
|
||||
|
||||
TJSONDataset = Class(TBaseJSONDataset)
|
||||
published
|
||||
Property FieldDefs;
|
||||
// redeclared data set properties
|
||||
|
Loading…
Reference in New Issue
Block a user