jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Dropdownlist value changing

This topic contains 2 replies, has 2 voices, and was last updated by  admaskks 9 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Grid Dropdownlist value changing #80275

    admaskks
    Participant

    Hi,

    I’m having a DropDownlist in the grid and i would like to change one of the cell value when i select the dropdownlist.

    { text: '@ml.getc("MIN")', datafield: 'GS_MIN', width: "20%", columntype: 'numberinput', cellsformat: 'd2', cellvaluechanging: cellValueChanging, validation: validationGrid },
                                    {
                                        text: '@ml.getc("Condition")', datafield: 'GS_COND', width: "20%", columntype: 'dropdownlist',
                                        createeditor: function (row, value, editor) {
                                            editor.jqxDropDownList({ source: CONDAdapter, displayMember: 'value', valueMember: 'value', autoDropDownHeight: true });
                                        }, cellvaluechanging: cellValueChanging, validation: validationGrid
                                    },
                                    { text: '@ml.getc("MAX")', datafield: 'GS_MAX', width: "20%", columntype: 'numberinput', cellsformat: 'd2', cellvaluechanging: cellValueChanging, validation: validationGrid }

    If (GS_COND == “>=”)
    {
    $(“#jqxGrid”).jqxGrid(‘setcellvaluebyid’, rowID, “GS_MAX”, “GS_MIN”);
    }

    Thanks for the help

    Grid Dropdownlist value changing #80292

    Dimitar
    Participant

    Hi admaskks,

    Maybe the demo Cascading ComboBoxes will be helpful to you (the comboboxes can easily be changed to dropdownlist).

    Best Regards,
    Dimitar

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

    Grid Dropdownlist value changing #80303

    admaskks
    Participant

    Thanks!

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

You must be logged in to reply to this topic.