Skip to content

Commit

Permalink
change: チームテーブルでフィルターを行えるように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
testusuke committed May 20, 2024
1 parent 8577c26 commit 4eff770
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions components/teams/teamsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,26 @@ const TeamsAgGrid = (props: TeamsAgGridProps) => {

// Column Definitions: Defines & controls grid columns.
const [colDefs,] = useState<ColDef<IRow>[]>([
{field: "teamId", headerName: "チームID"},
{field: "teamName", headerName: "チーム名"},
{field: "className", headerName: "クラス"},
{field: "teamTagName", headerName: "タグ"},
{
field: "teamId",
headerName: "チームID",
filter: true,
},
{
field: "teamName",
headerName: "チーム名",
filter: true,
},
{
field: "className",
headerName: "クラス",
filter: true,
},
{
field: "teamTagName",
headerName: "タグ",
filter: true,
},
]);

useEffect(() => {
Expand Down

0 comments on commit 4eff770

Please sign in to comment.