Create Record Workflow

Built-in modal for adding new records. Supports field validation, custom initial values, and local or remote submission.

Configuration

const table = new DogTable("#app", {
  data,
  create: {
    enabled: true,
    initialValues: { status: "Available" }
  },
  columns: [
    { key: "name", label: "Name", required: true },
    { key: "breed", label: "Breed" },
    { key: "status", label: "Status", options: ["Available", "Adopted", "Pending"] }
  ]
});