Announcement

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

    12.1p+: ListGrid no groupSummary AutoChild like summaryRow AutoChild

    Hi Isomorphic,

    retesting this issue in this modified sample (v12.1p_2023-06-27) I noticed that there is no groupSummary AutoChild like the summaryRow AutoChild.
    In the sample this results in not selectable groupSummary text (normal content and summaryRow content as selectable as expected), but I'm sure it will also show in other cases.

    Not sure this is a bug or an improvement suggestion.

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        width: "100%",
        height: "100%",
        dataSource: "supplyItem",
        autoFetchData: true,
    
        // Not working for group rows
        canDragSelectText: true,
    
        // GroupSummary itself is OK (but no text selection)
        groupByField:"category",
        groupByMaxRecords: 10000,
        showGroupSummary: true,
    
        // GridSummary is OK (with text selection)
        showGridSummary: true,
        summaryRowDataSource: "supplyItem",
        summaryRowCriteria: {"SKU": 45300},
        summaryRowProperties: {
            selectionType: "none",
            canDragSelectText: true
        }
    });
    Best regards
    Blama

    #2
    groupSummaries are just ordinary rows, not sub-components, which is what AutoChildren are used for.

    They cannot be selected because they don't represent an actual record in the dataset, e.g., getSelectedRecord() would have nothing to return.

    Comment


      #3
      Hi Isomorphic,

      ah, OK. But could but have the groupSummaries rows honor ListGrid canDragSelectText and selectCellTextOnClick nevertheless?
      I can't think of any other ListGrid features that should have an effect here as well right now, but these two seem like they should.

      Best regards
      Blama

      Comment

      Working...
      X