Announcement

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

    grid.selectOnExpandRecord:false and selectionAppearance:"checkbox" issue

    SmartClient Version: SNAPSHOT_v12.1d_2019-05-29/AllModules Development Only (built 2019-05-29)

    Chrome on OSX

    Hello, please try the #expansionDetailField in the showcase, modified like this:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:300,
        alternateRecordStyles:true,
        //expansionFieldImageShowSelected:true,
        selectionAppearance:"checkbox",
        selectOnExpandRecord:false,
        data: countryData,
        fields: [
            {name: "countryName", title: "Country"},
            {name: "capital", title: "Capital"},
            {name: "continent", title: "Continent"}
        ],
        canExpandRecords: true,
        expansionMode: "detailField",
        detailField: "background"
    });
    if you expand a record, the checkboxField image disappears.
    Actually I'm not sure that selectOnExpandRecord makes sense with this checkbox selection, but this behaviour, without a warning, doesn't seem correct.

    #2
    This has been fixed for builds dated June 1 and later.

    Comment


      #3
      SmartClient Version: SNAPSHOT_v12.1d_2019-06-04/AllModules Development Only (built 2019-06-04)

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

      As a side note, I see that the expansion detail field has the gridHover style, is it correct?

      Comment


        #4
        Yes, that's intentional and has been the long-standing default - however, the way it was being applied meant that you couldn't change it in code.

        We've fixed that for builds dated June 6 and later - in those builds, you can override the default by setting styleName via expansionDetailFieldProperties as expected.

        Comment


          #5
          Nice, thank you very much.

          Comment

          Working...
          X