|
45 | 45 | "id": "04406a4d", |
46 | 46 | "metadata": {}, |
47 | 47 | "source": [ |
48 | | - "Set the display option to use anywidget mode and partial ordering mode" |
| 48 | + "This notebook demonstrates the anywidget display mode, which provides an interactive table experience.\n", |
| 49 | + "Key features include:\n", |
| 50 | + "- **Column Sorting:** Click on column headers to sort data in ascending, descending, or unsorted states.\n", |
| 51 | + "- **Adjustable Column Widths:** Drag the dividers between column headers to resize columns." |
49 | 52 | ] |
50 | 53 | }, |
51 | 54 | { |
|
154 | 157 | { |
155 | 158 | "data": { |
156 | 159 | "application/vnd.jupyter.widget-view+json": { |
157 | | - "model_id": "9325bb92815d4fa787c1ebda94121c84", |
| 160 | + "model_id": "46e7c5b5b5c64f92b445a6a30c4a44fe", |
158 | 161 | "version_major": 2, |
159 | 162 | "version_minor": 1 |
160 | 163 | }, |
|
189 | 192 | "### Sorting by Column\n", |
190 | 193 | "You can sort the table by clicking on the headers of columns that have orderable data types (like numbers, strings, and dates). Non-orderable columns (like arrays or structs) do not have sorting controls.\n", |
191 | 194 | "\n", |
192 | | - "The sorting control cycles through three states:\n", |
| 195 | + "**Sorting indicators (●, ▲, ▼) are only visible when you hover over a column header.** The sorting control cycles through three states:\n", |
193 | 196 | "- **Unsorted (●):** The default state. Click the header to sort in ascending order.\n", |
194 | 197 | "- **Ascending (▲):** The data is sorted from smallest to largest. Click again to sort in descending order.\n", |
195 | 198 | "- **Descending (▼):** The data is sorted from largest to smallest. Click again to return to the unsorted state." |
196 | 199 | ] |
197 | 200 | }, |
| 201 | + { |
| 202 | + "cell_type": "markdown", |
| 203 | + "id": "adjustable-width-intro", |
| 204 | + "metadata": {}, |
| 205 | + "source": [ |
| 206 | + "### Adjustable Column Widths\n", |
| 207 | + "You can easily adjust the width of any column in the table. Simply hover your mouse over the vertical dividers between column headers. When the cursor changes to a resize icon, click and drag to expand or shrink the column to your desired width. This allows for better readability and customization of your table view." |
| 208 | + ] |
| 209 | + }, |
198 | 210 | { |
199 | 211 | "cell_type": "markdown", |
200 | 212 | "id": "bb15bab6", |
|
243 | 255 | { |
244 | 256 | "data": { |
245 | 257 | "application/vnd.jupyter.widget-view+json": { |
246 | | - "model_id": "f0d137094cab410f8b79726ea41b9b37", |
| 258 | + "model_id": "cc4b1c62308f4871be28c951737e5407", |
247 | 259 | "version_major": 2, |
248 | 260 | "version_minor": 1 |
249 | 261 | }, |
|
357 | 369 | { |
358 | 370 | "data": { |
359 | 371 | "application/vnd.jupyter.widget-view+json": { |
360 | | - "model_id": "57fc0b7ec7004891b82ea930cb15abb0", |
| 372 | + "model_id": "e3fbdff6dd1641aaaf6ed0b0fc4ca372", |
361 | 373 | "version_major": 2, |
362 | 374 | "version_minor": 1 |
363 | 375 | }, |
|
397 | 409 | "data": { |
398 | 410 | "text/html": [ |
399 | 411 | "✅ Completed. \n", |
400 | | - " Query processed 85.9 kB in 20 seconds of slot time.\n", |
| 412 | + " Query processed 85.9 kB in 22 seconds of slot time.\n", |
401 | 413 | " " |
402 | 414 | ], |
403 | 415 | "text/plain": [ |
|
444 | 456 | { |
445 | 457 | "data": { |
446 | 458 | "application/vnd.jupyter.widget-view+json": { |
447 | | - "model_id": "ac021154201b4b1caf43324d7baf0e44", |
| 459 | + "model_id": "8d3a5c29025848779533a64dadf8edb1", |
448 | 460 | "version_major": 2, |
449 | 461 | "version_minor": 1 |
450 | 462 | }, |
|
0 commit comments