Announcement

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

    Console error after edit list grid record

    Hi,

    I am using 12.1-d20200327 version of smartgwt with enterprise edition.
    I am getting console error whenever i edit the list grid record and just after that click on the page scroll bar. If i click on rest of the page after record edit then it works fine.
    Could you please help in this?
    Please find the attached screenshot for the console error.
    Below is the running code to reproduce the issue:

    public class MyEntryPoint implements EntryPoint {

    public void onModuleLoad() {
    ListGrid listGrid = new ListGrid();
    listGrid.setID("listGridID");
    ListGridField field1 = new ListGridField("column1", "column1");
    ListGridField field2 = new ListGridField("column2", "column2");
    ListGridField field3 = new ListGridField("column3", "column3");
    listGrid.setFields(field1, field2, field3);
    listGrid.setCanEdit(true);
    listGrid.setEditEvent(ListGridEditEvent.CLICK);
    listGrid.setValidateByCell(true);
    listGrid.setEditByCell(true);
    ListGridRecord[] recordArray = new ListGridRecord[1];
    ListGridRecord record1 = new ListGridRecord();
    record1.setAttribute("column1", 1);
    record1.setAttribute("column2", 5);
    record1.setAttribute("column3", 2);
    recordArray[0] = record1;
    listGrid.setRecords(recordArray);

    Layout layout = new VLayout();
    layout.setWidth100();
    layout.setHeight("1000px");
    layout.setBackgroundColor("#a3a3c2");
    layout.addMember(listGrid);
    layout.draw();

    }
    }

    Attached Files

    #2
    This error is not reproducible, and the error indicates the presence of third-party libraries which you declined to mention. Please stop filing issues that aren't reproducible, this wastes your time and ours.

    Comment

    Working...
    X