Hi,
I have added a RichTextItem as my grid editor customizer for a field, but am running into a few issues. I am using SmartGWT version 6.1, and it is a TreeGrid (not sure if this matters).
1. The edit link button reads as "Untitled Button" (see screenshot). I want it to have no visible text and just the icon, like in previous SmartGWT versions.
2. When I press on the horizontal scrollbar, it dismisses the editor instead of letting me scroll.
Do you know how I can fix these issues, or can you work on a solution? Thanks.
Relevant code:
	
 
		
							
						
					I have added a RichTextItem as my grid editor customizer for a field, but am running into a few issues. I am using SmartGWT version 6.1, and it is a TreeGrid (not sure if this matters).
1. The edit link button reads as "Untitled Button" (see screenshot). I want it to have no visible text and just the icon, like in previous SmartGWT versions.
2. When I press on the horizontal scrollbar, it dismisses the editor instead of letting me scroll.
Do you know how I can fix these issues, or can you work on a solution? Thanks.
Relevant code:
Code:
	
	 scheduleGrid.setEditorCustomizer(new ListGridEditorCustomizer() {
            @Override
            public FormItem getEditor(ListGridEditorContext context) {
                ListGridField field = context.getEditField();
                if(field.getName().equals("Comment")){
                            RichTextItem richTextItem = new RichTextItem();
                            richTextItem.setControlGroups("insertControls", "bulletControls", "formatControls", "styleControls","colorControls","fontControls");
                            richTextItem.setHeight(200);
                            field.setWidth(500);
                            return richTextItem;
                }
                return context.getDefaultProperties();
            }
        });
Comment