sort สรรหา

This commit is contained in:
setthawutttty 2025-02-26 17:15:19 +07:00
parent 383176f5be
commit 136754e910
10 changed files with 35 additions and 9 deletions

View file

@ -53,6 +53,7 @@ const rows = ref<ResponseRecruitPeriod[]>([]);
const rowsData = ref<ResponseRecruitPeriod[]>([]);
const initialPagination = ref<Pagination>({
rowsPerPage: 0,
sortBy: "year",
});
const visibleColumns = ref<String[]>([
"no",
@ -99,6 +100,7 @@ const columns = ref<QTableProps["columns"]>([
field: "year",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: number, b: number) => b - a,
},
{
name: "examCount",