Announcement

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

    TextAreaItem as grid's editorProperties broken by filterEditor

    Hi,
    Have a look at this showcase sample: https://www.smartclient.com/smartcli...=customEditors
    It is working fine showing TextAreaItem as government field editor:
    Click image for larger version

Name:	editorOK.png
Views:	30
Size:	24.6 KB
ID:	264745
    But if you modify sample by showing filter editor:
    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:620, height:224, alternateRecordStyles:true,
        cellHeight:42, wrapCells:true,
        showFilterEditor:true,//<--
        dataSource: countryDS,
        fields:[
            {name:"countryName", width:100},
            {name:"government", width:175,
                editorType:"TextAreaItem",
                editorProperties:{height:40}
            },
            {name:"population", width:100,
                editorType:"SpinnerItem"
            },
            {name:"independence", width:225,
                editorProperties:{useTextField:false}
            }
        ],
        autoFetchData: true,
        canEdit: true,
        editEvent: "click"
    })
    then TextItem is used instead of TextAreaItem as government field grid's editor:
    Click image for larger version

Name:	editorBAD.png
Views:	24
Size:	24.8 KB
ID:	264746

    Any chance to fix/workaround this?
    Thanks,
    MichalG

    #2
    Thanks for the clear test case
    We've made a change to address this issue. It should be present in the next nightly build (dated Feb 23 or above)

    Regards
    Isomorphic Software

    Comment


      #3
      I have tested this in SmartClient Version: SNAPSHOT_v13.0d_2021-02-28/LGPL Development Only (built 2021-02-28).
      Thanks for fixing.
      MichalG

      Comment

      Working...
      X