JxDataTable constructor

const JxDataTable({
  1. required List<JxColumn> columns,
  2. required List<List<Component>> rows,
  3. String? caption,
  4. bool striped = true,
  5. bool hover = true,
  6. bool dense = false,
  7. bool stickyHeader = false,
  8. int? sortColumn,
  9. bool sortAscending = true,
  10. ValueChanged<int>? onSort,
  11. String emptyText = 'No data',
  12. String? classes,
  13. Key? key,
})

Implementation

const JxDataTable({
  required this.columns,
  required this.rows,
  this.caption,
  this.striped = true,
  this.hover = true,
  this.dense = false,
  this.stickyHeader = false,
  this.sortColumn,
  this.sortAscending = true,
  this.onSort,
  this.emptyText = 'No data',
  this.classes,
  super.key,
});