jQWidgets Forums

jQuery UI Widgets Forums Grid Get grid data on row select

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Get grid data on row select #47297

    lalit singh
    Participant

    Hi,

    I am using grid, i have put one update button, on click of it i am using ” updaterow: function (rowid, rowdata, commit) ”
    how to get rowdata , i mean is there any property. so that i can pass values as pararmeter to my DB.

    In demo i found that you are using generaterow() function, i dont want to use that as i have put one button “add” that will add one row, now when user puts values in that rows, i want to make them use “save” button which fires update method.

    how can i get row data ?

    regards,

    lalit singh

    Get grid data on row select #47301

    Peter Stoev
    Keymaster

    Hi lalit singh,

    The synchronization with your Server should be implemented by the developer i.e in the “updaterow” callback you should make an Ajax call.

    Best Regards,
    Peter Stoev

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

    Get grid data on row select #47303

    lalit singh
    Participant

    Hi Peter,
    Thanks for your reply.

    I am talking about getting rowdata from grid, synchronization i will do it once i am able to get parameter. my question was how to get the rowdata.

    Regards,
    Lalit Singh

    Get grid data on row select #47307

    Peter Stoev
    Keymaster

    Hi Lalit Singh,

    The updaterow’s rowdata parameter provides you the data of the Updated Row. You may also get a row data by bound index through the “getrowdata” method.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.