Announcement

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

    ComboBox edior's pick list in ListGrid opens with empty value list

    Hi,

    I hit a bug when trying to use ComboBox with optionDataSource as an editor in my grid.

    To reproduce go to http://localhost:8080/isomorphic/sys...rgeValueMapSQL and paste this code:
    Code:
    isc.ListGrid.create({
        ID: "orderItemList",
        width:700, height:224, alternateRecordStyles:true,
        dataSource: largeValueMap_orderItem,
        fields:[
            {name: "orderID"},
            {name: "itemID", title: "Item Name", align: "left", width: "50%",  
             displayField: "itemName", editorType: "ComboBoxItem", editorProperties: { optionDataSource: "supplyItem" } },
            {name: "quantity"},
            {name: "unitPrice"}
        ],
        autoFetchData: true,
        canEdit: true,
        showFilterEditor: true
    });
    Now, the bug:
    1. Start editing any record by double-clicking it
    2. Click on picker icon to show pick list
    3. Scroll to the end of list (or ut least until CB requests another page of data)
    4. Exit editing by pressing ESC two times
    5. Repeat steps 1 and 2
    6. List is empty, and:
      • it repaints when i try scrolling by using scrollbar
      • it takes me to the bottom when i try to scroll by using mouse wheel

    Version: v10.1p_2016-02-12/PowerEdition Development Only, happens also on showcase (currently build 2016-03-02).

    #2
    We've addressed this for builds dated March 6 and later - note that your item needs a valueField to work properly.

    Comment


      #3
      Thanks for fixing it so quickly :)

      You are right - in my code I already use valueField, I was trying to slim down this testcase as much as I could, hence broken config.

      Comment

      Working...
      X