Comments (5)
I will come back with an example later on, but I expect that you should be able to set them in the same way we set 'style' in this paragraph: https://mwouts.github.io/itables/advanced_parameters.html#position-and-width
from itables.
Hi Daniel, thanks for asking.
My expectation is that you should be able to set these options on 'opt' as for the other global options (after 'import itables.options as opt').
Let me know if that works for you.
from itables.
Thanks Marc
I'm not sure what you mean by 'setting them on opt
' as syntax.
e.g. opt(scrollY='450px', scrollX=True, scrollCollapse=True, paging=False)
returns an error as it is not callable.
Could you give an example of what you mean?
Thanks
from itables.
Hi Marc. I haven't been able to find syntax that works; do those advanced parameters sit in the opt.style
property with css-esque syntax (e.g. opt.style = "table-layout:auto;width:auto;scrollX:true"?) Do you have an example?
from itables.
Hi @daniel-fink , excuse me, I completely forgot to provide an example.
This is what I meant:
from itables import init_notebook_mode
import itables.options as opt
# Set these parameters as defaults in itables.show
opt.scrollY='450px'
opt.scrollX=True
opt.scrollCollapse=True
opt.paging=False
init_notebook_mode(all_interactive=True)
and then e.g.
from itables.sample_dfs import generate_random_df
df = generate_random_df(rows=100, columns=100)
df
I think this is what you wanted right?
from itables.
Related Issues (20)
- Implement a Jupyter Widget for ITables HOT 5
- Issue on page /custom_extensions.html
- Custom search builder - Boolean filter not working
- Download CSV and Excel HOT 2
- Tables in a Streamlit app have a fixed height that does not work well with lengthMenu or search extensions
- Deploy a sample Shiny app that uses ITables HOT 1
- New landing page for conda forge `itables` HOT 4
- Support for the cell range copy to excel HOT 8
- sorry wrong post.. plase delete
- SearchBuilder & Checkboxes HOT 4
- UnicodeDecodeError while set "connected=False" HOT 5
- SearchBuilder Requires DateTime when used with dates. HOT 7
- Support for Polars Struct HOT 2
- Inf loading tables for particular `polars` data frame HOT 10
- Changing the color of buttons in searchBuilder HOT 7
- column_filters does not seem to be working when displaying Pandas Styler object HOT 1
- SearchBuilder picks up   as column name for Pandas styler object but works fine for Pandas dataframe object HOT 2
- Is there a way to make colvis button work without reset_index() HOT 2
- `OverflowError: can't convert negative int to unsigned` HOT 2
- Overflow-x not working properly within an ipywidget.Output widget HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itables.