sort สรรหา
This commit is contained in:
parent
383176f5be
commit
136754e910
10 changed files with 35 additions and 9 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue