XGridDataSource<T extends XFDataItem> constructor

XGridDataSource<T extends XFDataItem>(
  1. List<T> items,
  2. XView view
)

Implementation

XGridDataSource(List<T> items, XView this.view) {
  list.addAll(items);
  dataGridRows = list.map<XDataGridRow>((e) => getDataGridRow(e)).toList();
}