Announcement

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

    grid becomes editable after calling startEditingNew

    SmartClient Version: v13.1p_2025-01-18/AllModules Development Only (built 2025-01-18)
    SmartClient Version: v13.0p_2025-01-18/AllModules Development Only (built 2025-01-18)

    Chrome on MacOS

    Hello, please try this testcase in the enterNewRows sample:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:224,
        // use server-side dataSource so edits are retained across page transitions
        dataSource: countryDS,
        // display a subset of fields from the datasource
        fields:[
            {name:"countryName"},
            {name:"continent"},
            {name:"member_g8"},
            {name:"population"},
            {name:"independence"}
        ],
        autoFetchData: true
    })
    
    isc.IButton.create({
        top:250,
        title:"Edit New",
        click:"countryList.startEditingNew()"
    });
    The grid is not editable, but after calling startEditingNew, every record becomes editable (the same happens if I call startEditing)
Working...
X