Skip to content

Commit 9743122

Browse files
committed
docs: update anywidget demo notebook with max columns feature
1 parent 5058a53 commit 9743122

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

notebooks/dataframes/anywidget_mode.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"- **Rich DataFrames & Series:** Both DataFrames and Series are displayed as interactive widgets.\n",
5252
"- **Pagination:** Navigate through large datasets page by page without overwhelming the output.\n",
5353
"- **Column Sorting:** Click column headers to toggle between ascending, descending, and unsorted views. Use **Shift + Click** to sort by multiple columns.\n",
54-
"- **Column Resizing:** Drag the dividers between column headers to adjust their width."
54+
"- **Column Resizing:** Drag the dividers between column headers to adjust their width.\n",
55+
"- **Max Columns Control:** Limit the number of displayed columns to improve performance and readability for wide datasets."
5556
]
5657
},
5758
{
@@ -511,7 +512,10 @@
511512
"metadata": {},
512513
"source": [
513514
"### Adjustable Column Widths\n",
514-
"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."
515+
"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.\n",
516+
"\n",
517+
"### Control Maximum Columns\n",
518+
"You can control the number of columns displayed in the widget using the **Max columns** dropdown in the footer. This is useful for wide DataFrames where you want to focus on a subset of columns or improve rendering performance. Options include 3, 5, 7, 10, 20, or All."
515519
]
516520
},
517521
{

0 commit comments

Comments
 (0)