Announcement

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

    PickList All Items selected on start

    Hi isomorphic

    is there any a simple way to getting all picklist records selected at start? It should be automatically not with user interaction "select all" etc..

    thank for your helps

    #2
    Yes - the pickList autoChild is a ListGrid, so you can use ListGrid APIs to manipulate the selection.

    If your SelectItem / ComboBoxItem is databound, wait until dataArrived() before attempting to select records.

    Comment


      #3
      Ok I added dataArrived func. to FormItem code , it hits after retrieving data but I tried this 3 function for select rows but they didnt works . Any suggest?

      dataArrived: function (startRow, endRow, data) {
      this.pickList.selectAllRecords();
      this.pickList.selectionManager.selectAll()
      this.pickList.userSelectAllRecords()
      }

      Thankyou
      Attached Files

      Comment


        #4
        Please, try the following approach:

        Code:
                 dataArrived: function (startRow, endRow, data) {
                     isc.Timer.setTimeout(() => {  this.pickList.selectAllRecords(); }, 1000);
                 }
        However, we’re looking into why it would be necessary to add a delay.

        Regards
        Isomorphic Software


        Comment

        Working...
        X