Fixed editability of variable name
This commit is contained in:
parent
01ebe97f3a
commit
51a3d65114
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import { Button } from "../ui/button";
|
||||||
export default function TableComponent() {
|
export default function TableComponent() {
|
||||||
// Column Definitions: Defines the columns to be displayed.
|
// Column Definitions: Defines the columns to be displayed.
|
||||||
const [colDefs, setColDefs] = useState<(ColDef<any> | ColGroupDef<any>)[]>([
|
const [colDefs, setColDefs] = useState<(ColDef<any> | ColGroupDef<any>)[]>([
|
||||||
{ headerName: "Variable Name", field: "name", flex: 1, editable: true }, //This column will be twice as wide as the others
|
{ headerName: "Variable Name", field: "name", flex: 1 }, //This column will be twice as wide as the others
|
||||||
{
|
{
|
||||||
field: "type",
|
field: "type",
|
||||||
cellEditor: "agSelectCellEditor",
|
cellEditor: "agSelectCellEditor",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue