Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用户双击网格行后需要将值传递给 cellEditorParams。应用程序在行单击时调用服务并且响应必须传递给 cellEditorParams?
您可以做的一件事是在内部设置一些变量state并使用这些变量,cellEditorParams当用户双击时,您可以使用setState内部onRowDoubleClick将变量值更改为您想要的任何值。希望这可能会有所帮助。
state
cellEditorParams
setState
onRowDoubleClick