XGridDataSource<T extends XFDataItem> constructor
XGridDataSource<T extends XFDataItem> (
- List<
T> items, - XView view,
- bool enterpriseMode,
- BuildContext context,
Implementation
XGridDataSource(List<T> items, XView this.view, this.enterpriseMode, this.context) {
list.addAll(items);
dataGridRows = list.map<XDataGridRow>((e) => getDataGridRow(e)).toList();
enterpriseMode = enterpriseMode;
context = context;
}