Announcement

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

    ListGrid ruleContext problem

    SmartClient Version: v13.1p_2025-09-03/AllModules Development Only (built 2025-09-03)

    Hi, I found an issue with the ruleContext of a grid:
    1. Open the enabledAndVisibilityRules example in the showcase. In my case, the grid ID was isc_ListGrid_1.
    2. Run isc_ListGrid_1.setCanRemoveRecords(true)
    3. Select a record
    4. Delete it using the removeIcon

    You’ll see that the two buttons at the bottom remain enabled. In fact, in the ruleContext the attributes related to the grid still have the values anySelected:true, numSelected:1.

    #2
    We've reproduced the issue you reported and are looking into a solution.

    Comment


      #3
      We will be committing a fix for this today to SC 13.1+ that should be available in the next nightly builds.

      Comment


        #4
        SmartClient Version: v13.1p_2025-09-13/AllModules Development Only (built 2025-09-13)

        I can confirm that it's working, thank you very much!

        Comment

        Working...
        X