Announcement

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

    12.1p+ ListGrid summaryRow (with summaryRowDataSource) bug and css issue on click

    Hi Isomorphic,


    Creating this related testcase I noticed this issue. Please see this modified sample (v12.1p_2023-06-27, also in 13.0p).

    I fulfill the "return only one row" rule of summaryRowDataSource by adding a criterion. Then I get 2 rows (unexpected, does not happen in my application) that looses it's design on click (unexpected, does also happen in my application using v12.1p_2022-08-10).

    Please see the screenshot at the end.

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
        showGridSummary: true, // Added
        summaryRowDataSource: "supplyItem", // Added
        summaryRowCriteria: {"SKU": 45300} // Added
    });
    Best regards
    Blama


    Click image for larger version  Name:	summaryRow.png Views:	0 Size:	21.5 KB ID:	270483
    Last edited by Blama; 6 Jul 2023, 05:47.

    #2
    We've committed fixes for the issues you reported, back to SC 11.1. They will be in the nightly builds dated 2023-07-13 and beyond.

    In the case of the weird appearance after clicking on the summary row, this is because you're selecting it. We've now disabled selection for the summary row by default, but you can make this adjustment yourself before the fixed builds by simply using the AutoChild pattern:

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
        showGridSummary: true, // Added
        summaryRowDataSource: "supplyItem", // Added
        summaryRowCriteria: {"SKU": 45300}, // Added
    
        // disable selection in the summary row via AutoChild pattern
        summaryRowProperties: {
            selectionType: "none"
        }
    });

    Comment


      #3
      Hi Isomorphic,

      I can see both issues from #1 are fixed using v12.1p_2023-07-13 with the code from #1.

      Thank you & Best regards
      Blama

      Comment

      Working...
      X