Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    setStopOnErrors=true in listgrid suppress tooltips

    Hi,

    I am using SmartGWT 2.3 in IE8

    I have a listgrid with a flag stopOnErrors=true.
    If user removes a value from required field in grid, he sees a validation error icon, but there is no tooltip over the icon. If I set stopOnErrors=false, error tooltip is shown.

    What's the purpose of stopOnErrors=true, if user sees no error? How can I show tooltips in stopOnErrors=true mode?

    Code:
            grid = new ListGrid();
            grid.setWidth(550);
            grid.setHeight(224);
            grid.setShowAllRecords(true);
            grid.setCellHeight(22);
    
            ListGridField nameField = new ListGridField("name", "Name");
            nameField.setRequired(true);
    
            ListGridField continentField = new ListGridField("description", "Description");
    
            grid.setFields(nameField,continentField);
    
            grid.setAutoFetchData(true);
            grid.setCanEdit(true);
            grid.setEditEvent(ListGridEditEvent.CLICK);
            grid.setEditByCell(true);
            grid.setStopOnErrors(true);
    grid.setData(recordsArray);
    thanks
    Attached Files
Working...
X