jQuery UI Widgets Forums Grid Bug with custom dropdown list

This topic contains 2 replies, has 2 voices, and was last updated by  Klaus H 10 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Bug with custom dropdown list #49871

    Klaus H
    Participant

    Hi,

    a few weeks ago I reported this bug with full row editing and custom dropdown list:
    http://www.jqwidgets.com/community/topic/custom-lookup-and-full-row-edit-error/

    The bug was fixed, but now I stumble upon the same behaviour when I use the cellvaluechanged event. I have a grid with one editable column that is a lookup from a database query. Since this event and the update row event are fired even if the value does not change (click in the dropdown list, close it again without changing the value), I wanted to compare oldvalue and newvalue from the row.

    In oldvalue there really is the old value of the dropdown list, in newvalue is an object – the selected item from the dropdown list. I expected the new value there.

    Regards
    Klaus

    Bug with custom dropdown list #49921

    Peter Stoev
    Keymaster

    Hi Klaus,

    Unfortunately, we do not find anything wrong in the DropDownList editor. The newvalue could be an object and there’s no problem about that. That object usually may contain label and value of the cell.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Bug with custom dropdown list #49962

    Klaus H
    Participant

    Hello Peter,

    if it is supposed to be that way, I’m okay with it and can get to the value from the object. The fact that oldvalue was a string and newvalue was an item from the dropdown list seemed odd. 🙂

    Regards
    Klaus

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.