jQWidgets Forums

jQuery UI Widgets Forums Grid how to get row data modified within a jqxgrid

This topic contains 5 replies, has 3 voices, and was last updated by  Naveen Puram 9 years, 5 months ago.

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

  • Ranchs
    Member

    Hi,

    I have a jqxgrid with data popluated via json in rows.

    How do i get all the rows which are modified when i click on submit button to send the modified rows alone for update to server

    Please suggest on how to get the consolidated data which is modified for update.

    Thanks
    Ranchs


    Peter Stoev
    Keymaster

    Hi Ranchs,

    You will need to create and save the modified rows in an array. jqxGrid calls the source object’s updaterow method when a row is modified and you can fill your array with modified rows there.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Ranchs
    Member

    Hi Peter,

    Thanks very much for the input provided.

    Could also let me know how to accumulate the data with a sample as every row with its columns in place , would be modified.

    It would be great help if you let know how to get cells modified of each row just before submitting the grid data.

    Regards
    Ranchs


    Peter Stoev
    Keymaster

    Hi Ranchs,

    You need to create an array and push the modified records into it in the source object’s updaterow method. updaterow is called when a row is updated. You can update a row via the Grid’s updaterow method or by editing cells.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Naveen Puram
    Participant

    I have rowdetails used in my JQXGrid and I have few jqx tabs opened after expanding row. I need to perform some actions from jqxtabs like save,edit..etc. Most of the examples that I see with rowdetails and jqxtabs are just displaying the data but no example provided to see if we can perform any action from jqxtabs. Can you please let me know if you have any examples on this?


    Naveen Puram
    Participant

    Hi Peter, can you please send some example on how we can perform few actions on jqxtabs with in jqxgrid?

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

You must be logged in to reply to this topic.