You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/official-site/sqlpage/migrations/01_documentation.sql
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -694,6 +694,8 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
694
694
('small', 'Whether to use compact table.', 'BOOLEAN', TRUE, TRUE),
695
695
('description','Description of the table content and helps users with screen readers to find a table and understand what it’s.','TEXT',TRUE,TRUE),
696
696
('empty_description', 'Text to display if the table does not contain any row. Defaults to "no data".', 'TEXT', TRUE, TRUE),
697
+
('freeze_columns', 'Whether to freeze the leftmost column of the table.', 'BOOLEAN', TRUE, TRUE),
698
+
('freeze_headers', 'Whether to freeze the top row of the table.', 'BOOLEAN', TRUE, TRUE),
697
699
-- row level
698
700
('_sqlpage_css_class', 'For advanced users. Sets a css class on the table row. Added in v0.8.0.', 'TEXT', FALSE, TRUE),
699
701
('_sqlpage_color', 'Sets the background color of the row. Added in v0.8.0.', 'COLOR', FALSE, TRUE),
@@ -739,6 +741,68 @@ INSERT INTO example(component, description, properties) VALUES
739
741
'table',
740
742
'An empty table with a friendly message',
741
743
json('[{"component":"table", "empty_description": "Nothing to see here at the moment."}]')
744
+
),
745
+
(
746
+
'table',
747
+
'A large table with many rows and columns, with frozen columns on the left and headers on top. This allows users to browse large datasets without loosing track of their position.',
0 commit comments