Hello,
I should show a tooltip (or a hint) in listgrid cells, when user enters an edit mode. The tooltip/hint should explain what values can be entered in cell.
The problem I see that in Edit mode all the tooltips disappear. How can I fix it?
I use smartGWT 2.1, Internet Explorer 8.0
Here is my code with definition of tooltip:
thank you
I should show a tooltip (or a hint) in listgrid cells, when user enters an edit mode. The tooltip/hint should explain what values can be entered in cell.
The problem I see that in Edit mode all the tooltips disappear. How can I fix it?
I use smartGWT 2.1, Internet Explorer 8.0
Here is my code with definition of tooltip:
Code:
ListGrid countryGrid = new ListGrid(); countryGrid.setCanEdit(true); countryGrid.setEditEvent(ListGridEditEvent.CLICK); countryGrid.setShowHover(true); countryGrid.setCanHover(true); ListGridField valueField = new ListGridField("value", "value column"); valueField.setRequired(true); valueField.setShowHover(true); valueField.setHoverCustomizer(new HoverCustomizer() { public String hoverHTML(Object value, ListGridRecord record, int rowNum, int colNum) { return "my tooltip"; } }); ListGridField nameField = new ListGridField("name", "name"); nameField.setCanEdit(false); countryGrid.setFields(nameField, valueField);
Comment