How to add a new row when button click on ag-grid?

Hi, You can refer to this Ag-Grid component with input support - #333 by Max_Witteman. Another possible way for this is to have a separate button add row after the table (I haven’t used any functions from AgGrid). When the button is pressed you append a blank row to the data frame stored in Session State and use the st.autorefresh to refresh the grid.