Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Merge pull request #46 from Sports-day/feature/sortable-team-table
Browse files Browse the repository at this point in the history
チームテーブルでフィルターを行えるように変更
  • Loading branch information
testusuke authored May 20, 2024
2 parents 8577c26 + 4eff770 commit 95a2374
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 95a2374

Please sign in to comment.