TDBGrid constructor
const
TDBGrid({
- Key? key,
- required TDataSource? dataSource,
- TDBGridColumns? columns,
- bool readOnly = false,
- TDBGridOptions options = const {TDBGridOption.dgEditing, TDBGridOption.dgTitles, TDBGridOption.dgColumnResize, TDBGridOption.dgColLines, TDBGridOption.dgRowLines},
- double? width,
- double? height,
- Future<
void> onRowPost()?, - TDBGridLookupResolver? lookupResolver,
- void onRowActivate(
- int row
- VoidCallback? onExitLastRow,
- Future<
void> onRowInsert()?,
Implementation
const TDBGrid({
super.key,
required this.dataSource,
this.columns,
this.readOnly = false,
this.options = const {
TDBGridOption.dgEditing,
TDBGridOption.dgTitles,
TDBGridOption.dgColumnResize,
TDBGridOption.dgColLines,
TDBGridOption.dgRowLines,
},
this.width,
this.height,
this.onRowPost,
this.lookupResolver,
this.onRowActivate,
this.onExitLastRow,
this.onRowInsert,
});