jQWidgets Forums

jQuery UI Widgets Forums Grid Selected Rows as Change Json Data

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Selected Rows as Change Json Data #8292

    sreeni379
    Member

    Hi  Peter Stoev,

    I  have Question to You. I have Grid in  that selected rows reading,than that selected rows has to change  ‘json’ data type.Jqx Grid will Support this feature .

    Thanks&Regards

    Sreeni

    Selected Rows as Change Json Data #8299

    Peter Stoev
    Keymaster

    Hi Sreeni,

    The getselectedrowindexes returns the selected rows.

    var rowindexes = $('#grid').jqxGrid('getselectedrowindexes');

    To update a row, use the updaterow method.

    $('#grid').jqxGrid('updaterow', rowid, newdata);

    where rowid if the row’s id based on its bound index.

    Here’s how to get the row id for the first row.

    var id = $('#grid').jqxGrid('getrowid', 0);

    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.