Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何向表格添加新的行。 #204

Open
luoZhong98 opened this issue Dec 22, 2024 · 2 comments
Open

请问如何向表格添加新的行。 #204

luoZhong98 opened this issue Dec 22, 2024 · 2 comments

Comments

@luoZhong98
Copy link

self.button1 = SiPushButton(self)
self.button1.clicked.connect(self.click_button)
def click_button(self):
    self.demo_table_simple.addRow(data=["どうして1111", "高瀬統也", "どうして (feat. 野田愛実)", "03:01"])

通过这种方式无法向简单表格中动态添加新的行。

@UF4OVER
Copy link

UF4OVER commented Dec 29, 2024

感同身受,动态添加组件的bug好像都有,不管是什么组件,都不能动态添加,至少我尝试过的是这样

@Tao-6
Copy link

Tao-6 commented Dec 31, 2024

感同身受,动态添加组件的bug好像都有,不管是什么组件,都不能动态添加,至少我尝试过的是这样

可以动态添加,widget.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants