andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 652 forks source link

有2个问题需要帮助/Two questions ask for help #408

Open Cortana666 opened 3 years ago

Cortana666 commented 3 years ago

1、Table单元格编辑只有按回车键才会触发SetCellValue(),如何实现鼠标点击其他单元格也能触发SetCellValue() Table cell editing will only trigger SetCellValue() when you press the Enter key. How to realize that the mouse click on other cells can also trigger SetCellValue()

2、Table如何在CellValue()中删除此行或者取消显示此行 Table how to delete this row or undisplay this row in CellValue()

希望能得到您的帮助 Hope to get your help

andlabs commented 3 years ago

I'll need to go back and document the table API to answer the 2nd question, because I don't remember right now either!

As for the 1st question, what OS are you using? It's possible that the OS is cancelling the edit when you click away.

Cortana666 commented 3 years ago

Thank you for your reply. The operating system I use is MacOS.

jykgps commented 1 year ago

RowDeleted删除行