Announcement

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

    selectRecord is not working for CheckBox Enabled List Grid

    Hi, I have task to change the check box checked/unchecked programmatically. ListGrid configuration are as follows.

    listGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX); listGrid.setSelectionType(SelectionStyle.SIMPLE); listGrid.setAlternateRecordStyles(true); whenever I use selectRecord(Record) it doesn't change the state of CheckBox. This needs to be done when we fetchdata to the listgrid and some records of it has to be checked and the rest to be unchecked. Thank You.

    #2
    We don't show any issue with selectRecord() not working. To guess, perhaps you are trying to select records before data is actually loaded, and need to wait for DataArrived. Let us know if you find any evidence of a framework issue here, with a runnable test case that reproduces the problem.

    Comment


      #3
      We are using SC11.0p, And we are facing the same issue.

      We are doing ListGrid with DataSource with autoFetchData false.
      After few business scenarios we do fetchData and in the callback we are trying to select the record.

      Please do let us know how to wait until the data is loaded and then select the records.



      Just to let u know the full requirement for more info, when user tries to select a record grid should fetch the data with some criteria and then select the already selected record.

      Thanks.

      Comment


        #4
        We are using SC11.0p, And we are facing the same issue.

        We are doing ListGrid with DataSource with autoFetchData false.
        After few business scenarios we do fetchData and in the callback we are trying to select the record.

        Please do let us know how to wait until the data is loaded and then select the records.



        Just to let u know the full requirement for more info, when user tries to select a record grid should fetch the data with some criteria and then select the already selected record.

        Thanks.

        Comment


          #5
          Please see previous response. We already explained what event to wait for, and that in our testing, there does not appear to be an issue, and further, what to do if you think there’s a framework bug here.

          Comment

          Working...
          X