ListGrid / ListGridField - 编辑时悬停消息

ListGrid / ListGridField - Hover message while editing

有没有办法在编辑模式下在可编辑的 cell/ListGridField 上显示悬停消息?

能够在非编辑模式下通过以下方式在单元格上显示悬停消息:

cusipField.setShowHover(true);
cusipField.setHoverCustomizer(getCusipHoverCustomizer());

谢谢

当您通过适当的 FormItem 和 ListGridField.setEditorProperties(FormItem editorProperties) 方法为字段进入编辑模式时,您应该能够操纵所创建的编辑器的属性。例如,如果您的字段正在存储文本,您应创建一个 TextItem 并使用其 setPrompt(java.lang.String prompt) 方法定义悬停文本。然后使用该 TextItem 设置字段的编辑器属性。