Announcement

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

    [BUG]: using custom selectItem in listgrideditor

    Using version: v110p_2016-08-22_LGPL

    Problem
    When you use a custom (subclass) of SelectItem in the listgrideditor, and press the down arrow key, it leaves the focus of the editor row and continues to the next row.

    Suggested solution
    Change the custom implementation of isc.isA.SelectItem to allow subclasses as well.

    ISC_Core.js@3856
    Change
    Code:
        SelectItem : function (item) {
            if (!item || !isc.isA.FormItem(item)) return false;
            var itemClass = item.getClass();
            return (itemClass == isc.SelectItem || itemClass == isc.NativeSelectItem);
        },
    To:
    Code:
        SelectItem : function (item) {
            if (!item || !isc.isA.FormItem(item)) return false;
            var itemClass = item.getClass();
            return (item.isA(isc.SelectItem)  || itemClass == isc.NativeSelectItem);
        },

    #2
    Thanks for the notification. This has been fixed in the 11.0 and 11.1 branches. Please try the next nightly build dated September 7 or above.

    Regards
    Isomorphic Software

    Comment

    Working...
    X