Skip to content

Commit

Permalink
Merge branch 'add-server-func-for-navset' of https://github.com/posit…
Browse files Browse the repository at this point in the history
…-dev/py-shiny into add-server-func-for-navset
  • Loading branch information
karangattu committed Jul 31, 2024
2 parents 3aefbed + eb4d872 commit e079ab9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions shiny/render/_data_frame_utils/_datagridtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class DataGrid(AbstractTabularData, Generic[DataFrameLikeT]):
* `cols`: The column numbers to which the style should be applied. If `None`,
the style will be applied to all columns.
* `style`: A dictionary of CSS properties and values to apply to the selected
rows and columns. The keys must be _camelCased_ CSS property names to work
properly with react.js (e.g. `backgroundColor` instead of
`background-color`).
rows and columns. Traditional _kebab-cased_ CSS property names (e.g.
`background-color`) will work in addition to _camelCased_ CSS property names
(e.g. `backgroundColor`).
* `class`: A string of CSS class names to apply to the selected rows and columns.
If both `style` and `class` are missing or `None`, nothing will be applied. If
Expand Down Expand Up @@ -249,9 +249,9 @@ class DataTable(AbstractTabularData, Generic[DataFrameLikeT]):
* `cols`: The column numbers to which the style should be applied. If `None`,
the style will be applied to all columns.
* `style`: A dictionary of CSS properties and values to apply to the selected
rows and columns. The keys must be _camelCased_ CSS property names to work
properly with react.js (e.g. `backgroundColor` instead of
`background-color`).
rows and columns. Traditional _kebab-cased_ CSS property names (e.g.
`background-color`) will work in addition to _camelCased_ CSS property names
(e.g. `backgroundColor`).
* `class`: A string of CSS class names to apply to the selected rows and columns.
If both `style` and `class` are missing or `None`, nothing will be applied. If
Expand Down

0 comments on commit e079ab9

Please sign in to comment.