Announcement

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

    grid.alwaysShowEditors and autoFitData:"vertical" startEditingNew focus bug

    SmartClient Version: v11.1p_2017-08-29/Enterprise Development Only (built 2017-08-29)

    Chrome on OSX

    Hello, please modify the #editingAutoFitNewRows sample like this:

    Code:
    isc.ListGrid.create({
        autoDraw: false,
        ID: "countryList",
        alwaysShowEditors: true,
    
        width:500, alternateRecordStyles:true, 
        autoFitMaxRecords: 6,
        autoFitData: "vertical",
        canEdit: true,
        editEvent: "click",
        listEndEditAction: "next",
        enterKeyEditAction: "nextRowStart",
        fields: [
            {name: "countryCode", title: "Country Code"},
            {name: "countryName", title: "Country Name"},
            {name: "population", title: "Population"}
        ]
    })
    
    isc.IButton.create({
        ID: "button",
        autoDraw: false,
        title:"Edit New",
        click:"countryList.startEditingNew()"
    });
    
    isc.VStack.create({
        membersMargin: 10,
        members: [
            countryList, button
        ]
    });
    Then:
    - click 'edit new'
    - type 'foo' in the first colum
    - click 'edit new'
    - type 'bar' in the first colum
    - click 'edit new': the focus returns to the 'foo' cell, instead of the newly created record.

    The problems seems related to the fact that for the 3th row the grid must auto-expand.


    #2
    This issue has been fixed in nightly builds of Aug 31 and later.

    Comment


      #3
      SmartClient Version: v11.1p_2017-08-31/Enterprise Deployment (built 2017-08-31)

      I can confirm it's fixed, thank you very much.

      Comment

      Working...
      X