I have a FormItem that has a value that is sometimes to large to be readable by the user. The FormItem is by default disabled. I want to be able to hover over the FormItem and have the Hover display the complete value of the item.
So here is what I have:
TextItem item = new TextItem(''subscriber:, "Subacriber Name");
item.disable();
DynamicForm form = new DynamicForm();
form.setHeight("70px");
form.setCanHover(Boolean.TRUE);
form.setShowHover(Boolean.TRUE);
form.setNumCols(2);
form.setFields( item );
Now when the item gets a value, item.setValue("Billy Bod Blass Jr. PhD KBE, KCBE");
and the value is longer than the width of the item,
I expect that the user hovering over the item would show the full value in the hover.
How can I accomplish this?
So here is what I have:
TextItem item = new TextItem(''subscriber:, "Subacriber Name");
item.disable();
DynamicForm form = new DynamicForm();
form.setHeight("70px");
form.setCanHover(Boolean.TRUE);
form.setShowHover(Boolean.TRUE);
form.setNumCols(2);
form.setFields( item );
Now when the item gets a value, item.setValue("Billy Bod Blass Jr. PhD KBE, KCBE");
and the value is longer than the width of the item,
I expect that the user hovering over the item would show the full value in the hover.
How can I accomplish this?
Comment