Experimental data editor: How to force it to show all rows

Summary

Experimental data editor defaults to showing 10 rows and then forces user to use the scrollbar.

image

Steps to reproduce

Create an instance of the EDE (making my own acronym) with more than 10 rows

Expected behavior:

Expect ability to use the entire vertical display vs having the EDE make its own small container

Actual behavior:

See above

Debug info

  • Streamlit version: 1.22
  • Python version: 3.8.10
  • Using Poetry
  • OS version: Window 10
  • Browser version: Edge
1 Like
import streamlit as st
import pandas as pd

df = pd.DataFrame({
    'A': list(range(20)),
    'B': list(range(20)),
    'C': list(range(20)),
})

st.dataframe(df, height=35*len(df)+38)

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.