Skip to content

Commit 8976367

Browse files
authored
Update docstring so list displays properly
Try `? showtable` on `master` and the same on this branch. Just a small fix to make it render better.
1 parent 6a49528 commit 8976367

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

src/TableView.jl

+13-12
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,19 @@ showtable(table::AbstractMatrix; kwargs...) = showtable(Tables.table(table); kwa
5353
Return a `WebIO.Scope` that displays the provided `table`.
5454
5555
Optional arguments:
56-
- `options`: Directly passed to agGrid's `Grid` constructor. Refer to the
57-
[documentation](https://www.ag-grid.com/documentation/) for more info.
58-
- `options_mutator!`: Runs on the `options` dictionary populated by TableView and allows for
59-
customizing the grid (at your own risk -- you can break the package by
60-
supplying invalid options).
61-
- `dark`: Switch to a dark theme.
62-
- `title`: Displayed above the table if non-empty;
63-
- `height`/`width`: CSS attributes specifying the output height and with.
64-
- `cell_changed`: Either `nothing` or a function that takes a single argument with the fields
65-
`"new"`, `"old"`, `"row"`, and `"col"`. This function is called whenever the
66-
user edits a table field. Note that all values will be strings, so you need to
67-
do the necessary conversions yourself.
56+
57+
- `options`: Directly passed to agGrid's `Grid` constructor. Refer to the
58+
[documentation](https://www.ag-grid.com/documentation/) for more info.
59+
- `options_mutator!`: Runs on the `options` dictionary populated by TableView and allows for
60+
customizing the grid (at your own risk -- you can break the package by
61+
supplying invalid options).
62+
- `dark`: Switch to a dark theme.
63+
- `title`: Displayed above the table if non-empty;
64+
- `height`/`width`: CSS attributes specifying the output height and with.
65+
- `cell_changed`: Either `nothing` or a function that takes a single argument with the fields
66+
`"new"`, `"old"`, `"row"`, and `"col"`. This function is called whenever the
67+
user edits a table field. Note that all values will be strings, so you need to
68+
do the necessary conversions yourself.
6869
"""
6970
function showtable(table;
7071
options::Dict{Symbol, Any} = Dict{Symbol, Any}(),

0 commit comments

Comments
 (0)