jQWidgets Forums

jQuery UI Widgets Forums Grid Pass dropdown valuemember in Grid

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Pass dropdown valuemember in Grid #53444

    Dipanjan
    Participant

    Hi,

    I have a dropdown list in a grid. When editing, I want to pass valuemember of the dropdownlist to server. Right now, the displaymember is getting passed to server when editing.

    Please suggest.

    Pass dropdown valuemember in Grid #53446

    Peter Stoev
    Keymaster

    Hi Dipanjan,

    As far as I know, the Grid does not pass anything to a server when you edit a cell/row. That is an action which should be implemented within the “updaterow” callback function of the “source” object and usually jQuery’s Ajax function is used for making server calls there. The “updaterow” function has parameters like rowid, rowdata and commit. rowdata contains your row’s full data. On success, call commit(true). On error, call commit(false).

    Best Regards,
    Peter Stoev

    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.