Skip to content

Commit 8f68ede

Browse files
committed
Gallery Example: Make the data tab work
Provide a default unfiltered/unsorted view of the table, so that editing the data in the data tab changes.
1 parent 8aa0cdd commit 8f68ede

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/gallery/ui/pages/table_view_page.slint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export global TableViewPageAdapter {
1616
];
1717

1818
pure callback filter_sort_model([[StandardListViewItem]], string, int, bool) -> [[StandardListViewItem]];
19+
filter_sort_model(row-data, filter, sort-index, sort-ascending) => { return row-data; }
1920
}
2021

2122
export component TableViewPage inherits Page {

0 commit comments

Comments
 (0)