jQuery UI Widgets Forums Grid How to set cell value from jqxCombbox

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • simcon94
    Participant

    Hi, how can i set the cell in grid, when i selcted items in Combobox?

    
    createeditor: function (row, cellvalue, editor) {
                                editor.jqxComboBox({ checkboxes: true, source: comboEntries, displayMember: 'Name', valueMember: 'Id' });
                            }
                            , initeditor: function(row, cellvalue, editor) {
                                editor.jqxComboBox({ source: comboEntries });
                                var meters = dataAdapter.records[row].AttachedMeters.split("|");
                                for (var counter = 0; counter < meters.length; counter++) {
                                    editor.jqxComboBox('checkItem', meters[counter]);
                                }
                            }
    

    with cellvaluechanged i only get the last selected item…..

    How to set cell value from jqxCombbox #57073

    Dimitar
    Participant

    Hello simcon94,

    This can be achieved with the geteditorvalue callback function. You can see it in action in the demo Custom Column Editor.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.