Announcement

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

  • Isomorphic
    replied
    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


    Leave a comment:


  • ihsan.kocak
    replied
    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

    Leave a comment:


  • Isomorphic
    replied
    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.

    Leave a comment:


  • ihsan.kocak
    started a topic PickList All Items selected on start

    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
Working...
X