Skip to content

Commit aac36d5

Browse files
committed
add sorting docs
1 parent 1d1231a commit aac36d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adminforth/types/Common.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,10 @@ export interface AdminForthResourceColumnInputCommon {
813813
*/
814814
foreignResource?: AdminForthForeignResourceCommon,
815815

816+
/**
817+
* Whether to allow this column to be sortable in list view.
818+
* If true, AdminForth will add sorting buttons to the column header in list view and clicking on it will change sorting state of the column.
819+
*/
816820
sortable?: boolean,
817821

818822

0 commit comments

Comments
 (0)