+
+
+
+ i
+ Use the header buttons to sort or group, expand a row for details, or double-click Role to edit.
+
+
+
+ { api = value; }}
+ options={{
+ id: 'solid-demo',
+ data: data(),
+ columnDefs: [
+ { name: 'id', displayName: 'ID', width: '90px' },
+ { name: 'name', displayName: 'Customer', width: 'minmax(220px, 1.2fr)' },
+ { name: 'company', displayName: 'Company', width: 'minmax(180px, 1fr)' },
+ { name: 'email', displayName: 'Email', width: 'minmax(220px, 1.2fr)' },
+ { name: 'role', displayName: 'Role', width: '170px', enableCellEdit: true },
+ { name: 'status', displayName: 'Status', width: '130px' },
+ { name: 'revenue', displayName: 'Revenue', width: '150px' },
+ { name: 'region', displayName: 'Region', width: '140px' },
+ ],
+ rowIdentity: (row) => String(row['id']),
+ enableSorting: true,
+ enableGrouping: true,
+ enableColumnMoving: true,
+ enableCellEdit: true,
+ enableExpandable: true,
+ expandableRowHeight: 90,
+ enableVirtualization: true,
+ virtualizationThreshold: 40,
+ minRowsToShow: 10,
+ }}
+ />
+
+
+
+