Skip to content

Commit

Permalink
update links, version and remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Mar 3, 2023
1 parent ecd08bd commit 150d489
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions examples/reference/widgets/Tabulator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"The list of valid *Tabulator* formatters can be found in the [Tabulator documentation](http://tabulator.info/docs/4.9/format#format-builtin).\n",
"The list of valid *Tabulator* formatters can be found in the [Tabulator documentation](https://tabulator.info/docs/5.4/format#format-builtin).\n",
"\n",
"## Editors/Editing\n",
"\n",
Expand All @@ -188,7 +189,7 @@
"metadata": {},
"outputs": [],
"source": [
"from bokeh.models.widgets.tables import CheckboxEditor, NumberEditor, SelectEditor, DateEditor, TimeEditor\n",
"from bokeh.models.widgets.tables import CheckboxEditor, NumberEditor, SelectEditor\n",
"\n",
"bokeh_editors = {\n",
" 'float': NumberEditor(),\n",
Expand All @@ -200,10 +201,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"Therefore it is often preferable to use one of the [*Tabulator* editors](http://tabulator.info/docs/4.9/edit#edit) directly. Setting the editor of a column to `None` makes that column non-editable. Note that in addition to the standard *Tabulator* editors the `Tabulator` widget also supports `'date'` and `'datetime'` editors:"
"Therefore it is often preferable to use one of the [*Tabulator* editors](https://tabulator.info/docs/5.4/edit#edit) directly. Setting the editor of a column to `None` makes that column non-editable. Note that in addition to the standard *Tabulator* editors the `Tabulator` widget also supports `'date'` and `'datetime'` editors:"
]
},
{
Expand Down Expand Up @@ -654,7 +656,7 @@
"periodic_df = elements[['atomic number', 'name', 'atomic mass', 'metal', 'year discovered']].set_index('atomic number')\n",
"\n",
"content_fn = lambda row: pn.pane.HTML(\n",
" f'<iframe src=\"http://en.wikipedia.org/wiki/{row[\"name\"]}?printable=yes\" width=\"100%\" height=\"200px\"></iframe>',\n",
" f'<iframe src=\"https://en.wikipedia.org/wiki/{row[\"name\"]}?printable=yes\" width=\"100%\" height=\"200px\"></iframe>',\n",
" sizing_mode='stretch_width'\n",
")\n",
"\n",
Expand Down Expand Up @@ -1250,10 +1252,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"These and other available *Tabulator* options are listed at http://tabulator.info/docs/5.3/options. \n",
"These and other available *Tabulator* options are listed at http://tabulator.info/docs/5.4/options. \n",
"\n",
"Obviously not all options will work though, especially any settable callbacks and options which are set by the internal Panel tabulator module (for example the `columns` option).\n",
"Additionally it should be noted that the configuration parameter is not responsive so it can only be set at instantiation time."
Expand Down

0 comments on commit 150d489

Please sign in to comment.