php - Using JQgrid and sortableRows. Update table row order -
Experiment: I am able to call a warning after modifying my line order.
How do I send / edit this data to PHP / the editingurl passes through this data, such as when attaching or editing, editurl gets $ _POST ['oper'] variable?
Currently:
jQuery ("# images_list"). JqGrid ('sortableRows', option = {update: function (e, ui) {warning ("hi");}});
The first update event should be like the following:
JqGrid ('SortableRows', {update: function (e, ui) {warning ("id =" + ui.item [0] .id + "left item with");}}); If you need other line data, you can get the code using the line id and get the How to post the results for the server You should decide yourself You can use the directly getRowData method.
$ .jax
function I think the order of the rows can change the rows Should not be interpreted to add, delete, or edit
Comments
Post a Comment