Skip to content

Commit d7f10fe

Browse files
author
Tim Shawver
authored
Replace the filterable example in the README...
...since that option is not supported yet.
1 parent 410037c commit d7f10fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ with a newer version of either dependency.*
9090
What's New
9191
----------
9292
**Column-specific options (as of 1.1.0)**:
93-
Thanks to a significant `PR from the community <https://github.com/quantopian/qgrid/pull/191>`_, Qgrid users now have the ability to set a number of options on a per column basis. This allows you to do things like explicitly specify which column should be sortable, filterable, editable, etc. For example, if you wanted to prevent filtering on all columns except for a column named `'A'`, you could do the following::
93+
Thanks to a significant `PR from the community <https://github.com/quantopian/qgrid/pull/191>`_, Qgrid users now have the ability to set a number of options on a per column basis. This allows you to do things like explicitly specify which column should be sortable, filterable, editable, etc. For example, if you wanted to prevent editing on all columns except for a column named `'A'`, you could do the following::
9494

95-
col_opts = { 'filterable': False }
96-
col_defs = { 'A': { 'filterable': True } }
95+
col_opts = { 'editable': False }
96+
col_defs = { 'A': { 'editable': True } }
9797
qgrid.show_grid(df, column_options=col_opts, column_definitions=col_defs)
9898

9999
See the updated `show_grid <https://qgrid.readthedocs.io/en/v1.1.0/#qgrid.show_grid>`_ documentation for more information.

0 commit comments

Comments
 (0)