in frontend/app/ProxyFramework/multistep/FindDeploymentComponent.tsx [36:76]
function makeSearchTableColumns(
getSelectedValue: ()=>string|undefined,
radioSelectorChanged: (newValue:string)=>void
):ColDef[] {
return [
{
field: "selector",
headerName: "Select",
renderCell: (params) => (
<Radio checked={params.getValue("stackId")===getSelectedValue()}
onClick={()=>radioSelectorChanged(params.getValue("stackId") as string)}
/>
)
},
{
field: "stackName",
headerName: "Stack Name",
width: 300
},
{
field: "templateDescription",
headerName: "Description",
width: 400
},
{
field: "region",
headerName: "Region",
width: 200
},
{
field: "status",
headerName: "Status",
width: 200
},
{
field: "creationTime",
headerName: "Created",
width: 300
}
]
}