Is it possible to copy data from ListGrid to clipboard? It seems to me that if ListGrid is not editable, user cannot select text from cells to copy it (using Ctrl+C).
If I make ListGrid editable (so that user can select text when editor opens) how can I prevent user to make changes? I have tried calling cancelEditing() method in EditorExitHandler but then I get StackOverflowError, because I am getting infinite loop.
Btw, there is a bug when method event.getEditCompletionEvent() is called in EditorExitHandler, as this Exception is thrown (I guess you should just uppercase argument in valueOf()):
If I make ListGrid editable (so that user can select text when editor opens) how can I prevent user to make changes? I have tried calling cancelEditing() method in EditorExitHandler but then I get StackOverflowError, because I am getting infinite loop.
Btw, there is a bug when method event.getEditCompletionEvent() is called in EditorExitHandler, as this Exception is thrown (I guess you should just uppercase argument in valueOf()):
Code:
Uncaught JavaScript exception [java.lang.IllegalArgumentException: No enum const class com.smartgwt.client.types.EditCompletionEvent.click at java.lang.Enum.valueOf(Enum.java:196) at com.smartgwt.client.types.EditCompletionEvent.valueOf(EditCompletionEvent.java:1) at com.smartgwt.client.widgets.grid.events.EditorExitEvent.getEditCompletionEvent(Native Method)
Comment