Skip to content

Commit 98c3b77

Browse files
Copilothotlong
andcommitted
Fix data consistency issues in examples
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d9566b6 commit 98c3b77

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

content/docs/plugins/plugin-object/object-grid.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Inherits all data-table features: sorting, filtering, pagination, row selection,
3131
{ id: 1, name: "Alice Johnson", email: "alice@example.com", role: "Admin", status: "Active" },
3232
{ id: 2, name: "Bob Smith", email: "bob@example.com", role: "User", status: "Active" },
3333
{ id: 3, name: "Carol White", email: "carol@example.com", role: "Manager", status: "Inactive" },
34-
{ id: 4, name: "David Brown", email: "david@example.com", role: "User", status: "Active" },
34+
{ id: 4, name: "Daniel Martinez", email: "daniel@example.com", role: "User", status: "Active" },
3535
{ id: 5, name: "Emma Wilson", email: "emma@example.com", role: "Editor", status: "Active" },
3636
{ id: 6, name: "Frank Miller", email: "frank@example.com", role: "User", status: "Active" }
3737
],
@@ -172,7 +172,7 @@ Inherits all data-table features: sorting, filtering, pagination, row selection,
172172
{ orderId: "ORD-001", customer: "Alice Johnson", amount: "$1,299", date: "2024-01-20" },
173173
{ orderId: "ORD-002", customer: "Bob Smith", amount: "$299", date: "2024-01-19" },
174174
{ orderId: "ORD-003", customer: "Carol White", amount: "$599", date: "2024-01-18" },
175-
{ orderId: "ORD-004", customer: "David Brown", amount: "$899", date: "2024-01-17" },
175+
{ orderId: "ORD-004", customer: "Daniel Martinez", amount: "$899", date: "2024-01-17" },
176176
{ orderId: "ORD-005", customer: "Emma Wilson", amount: "$1,499", date: "2024-01-16" },
177177
{ orderId: "ORD-006", customer: "Frank Miller", amount: "$399", date: "2024-01-15" }
178178
],
@@ -210,7 +210,7 @@ Inherits all data-table features: sorting, filtering, pagination, row selection,
210210
{ id: 1, name: "Alice Johnson", email: "alice@company.com", department: "Engineering", phone: "+1-555-0101", status: "Active" },
211211
{ id: 2, name: "Bob Smith", email: "bob@company.com", department: "Sales", phone: "+1-555-0102", status: "Active" },
212212
{ id: 3, name: "Carol White", email: "carol@company.com", department: "Marketing", phone: "+1-555-0103", status: "Inactive" },
213-
{ id: 4, name: "David Brown", email: "david@company.com", department: "Engineering", phone: "+1-555-0104", status: "Active" },
213+
{ id: 4, name: "Daniel Lee", email: "daniel@company.com", department: "Engineering", phone: "+1-555-0104", status: "Active" },
214214
{ id: 5, name: "Emma Wilson", email: "emma@company.com", department: "HR", phone: "+1-555-0105", status: "Active" },
215215
{ id: 6, name: "Frank Miller", email: "frank@company.com", department: "Sales", phone: "+1-555-0106", status: "Active" },
216216
{ id: 7, name: "Grace Chen", email: "grace@company.com", department: "Design", phone: "+1-555-0107", status: "Active" },
@@ -268,10 +268,10 @@ Inherits all data-table features: sorting, filtering, pagination, row selection,
268268
{ field: "department", label: "Department", type: "select" }
269269
],
270270
data: [
271-
{ id: 1, name: "Alice Johnson", email: "alice@company.com", joinDate: "2022-03-15", salary: 95000, isActive: true, department: "Engineering" },
272-
{ id: 2, name: "Bob Smith", email: "bob@company.com", joinDate: "2021-07-22", salary: 87000, isActive: true, department: "Sales" },
273-
{ id: 3, name: "Carol White", email: "carol@company.com", joinDate: "2023-01-10", salary: 92000, isActive: false, department: "Marketing" },
274-
{ id: 4, name: "David Brown", email: "david@company.com", joinDate: "2020-11-05", salary: 105000, isActive: true, department: "Engineering" }
271+
{ id: 1, name: "Alice Johnson", email: "alice@company.com", joinDate: "2022-03-15", salary: "$95,000", isActive: true, department: "Engineering" },
272+
{ id: 2, name: "Bob Smith", email: "bob@company.com", joinDate: "2021-07-22", salary: "$87,000", isActive: true, department: "Sales" },
273+
{ id: 3, name: "Carol White", email: "carol@company.com", joinDate: "2023-01-10", salary: "$92,000", isActive: false, department: "Marketing" },
274+
{ id: 4, name: "Michael Davis", email: "michael@company.com", joinDate: "2020-11-05", salary: "$105,000", isActive: true, department: "Engineering" }
275275
],
276276
pageSize: 10,
277277
showSearch: true
@@ -615,7 +615,7 @@ When `editable` and `keyboardNavigation` are enabled:
615615
{ id: 1, company: "Acme Corp", contact: "Alice Johnson", email: "alice@acme.com", phone: "+1-555-0101", value: "$125,000", tier: "Gold" },
616616
{ id: 2, company: "TechStart Inc", contact: "Bob Smith", email: "bob@techstart.com", phone: "+1-555-0102", value: "$89,500", tier: "Silver" },
617617
{ id: 3, company: "Global Solutions", contact: "Carol White", email: "carol@global.com", phone: "+1-555-0103", value: "$256,000", tier: "Platinum" },
618-
{ id: 4, company: "Innovate Labs", contact: "David Brown", email: "david@innovate.com", phone: "+1-555-0104", value: "$45,200", tier: "Bronze" },
618+
{ id: 4, company: "Innovate Labs", contact: "David Taylor", email: "david@innovate.com", phone: "+1-555-0104", value: "$45,200", tier: "Bronze" },
619619
{ id: 5, company: "CloudFirst", contact: "Emma Wilson", email: "emma@cloudfirst.com", phone: "+1-555-0105", value: "$178,900", tier: "Gold" },
620620
{ id: 6, company: "DataDrive", contact: "Frank Miller", email: "frank@datadrive.com", phone: "+1-555-0106", value: "$92,300", tier: "Silver" }
621621
],
@@ -655,7 +655,7 @@ When `editable` and `keyboardNavigation` are enabled:
655655
{ id: 1, taskId: "TSK-101", title: "Implement user authentication", assignee: "Alice Johnson", priority: "High", status: "In Progress", dueDate: "2024-02-15" },
656656
{ id: 2, taskId: "TSK-102", title: "Design landing page mockup", assignee: "Bob Smith", priority: "Medium", status: "Completed", dueDate: "2024-02-10" },
657657
{ id: 3, taskId: "TSK-103", title: "Fix responsive layout bugs", assignee: "Carol White", priority: "High", status: "In Progress", dueDate: "2024-02-12" },
658-
{ id: 4, taskId: "TSK-104", title: "Write API documentation", assignee: "David Brown", priority: "Low", status: "Not Started", dueDate: "2024-02-20" },
658+
{ id: 4, taskId: "TSK-104", title: "Write API documentation", assignee: "Daniel Martinez", priority: "Low", status: "Not Started", dueDate: "2024-02-20" },
659659
{ id: 5, taskId: "TSK-105", title: "Optimize database queries", assignee: "Emma Wilson", priority: "High", status: "In Progress", dueDate: "2024-02-14" },
660660
{ id: 6, taskId: "TSK-106", title: "Update user guide", assignee: "Frank Miller", priority: "Low", status: "Not Started", dueDate: "2024-02-25" },
661661
{ id: 7, taskId: "TSK-107", title: "Add export to PDF feature", assignee: "Alice Johnson", priority: "Medium", status: "Completed", dueDate: "2024-02-08" }

0 commit comments

Comments
 (0)