XGridDataSource<T extends XFDataItem> constructor

XGridDataSource<T extends XFDataItem>(
  1. List<T> items,
  2. XView view,
  3. bool enterpriseMode,
  4. 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;
}