Open AlexandreSajus opened 8 months ago
For example: this is slow
import pandas as pd
from taipy.gui import Gui
value = 10
data = pd.DataFrame()
# Create 1O columns with 100 rows of bools
for i in range(10):
data[i] = [True if j % value == 0 else False for j in range(100)]
page = """
<|{value}|slider|>
<|{data}|table|>
"""
Gui(page).run()
Replace True and False with 1 and 0 and things run faster
proposal:
A table visual element will display boolean values like this:![image](https://github.com/Avaiga/taipy/assets/62465003/f475331e-7ea5-44e8-9657-083b5587be07)
This looks great but unfortunately, when you have 100 rows and 10 columns of booleans, 1000 of these toggles are rendered on the page which slows down the application to the point where every interaction takes some time to be processed.