Fixed editability of variable name

This commit is contained in:
Lucas Oliveira 2024-04-29 19:08:14 +02:00
commit 51a3d65114

View file

@ -11,7 +11,7 @@ import { Button } from "../ui/button";
export default function TableComponent() {
// Column Definitions: Defines the columns to be displayed.
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",
cellEditor: "agSelectCellEditor",