Onupdating event

06 Mar

The function accepts a single argument with the following structure: Control field renders delete and editing buttons in data row, search and add buttons in filter and inserting row accordingly. Returns j Query promise resolved when update is completed.It also renders button switching between filtering and searching in header row. The value should be in range from 1 to [total amount of pages]. item|$row|row Node is the reference to the item or the row j Query Element or the row Dom Node.Custom properties: // retrieve grid instance from element data var grid = $("#grid").data("JSGrid"); // create grid with the constructor var grid = new js Grid. edited Item is the changed item to pass to // update currently editing row $("#grid")Grid("update Item"); // update currently editing row with specified data $("#grid")Grid("update Item", ); // update specified item with particular data (row Dom Node or row j Query Element can be used instead of item reference) $("#grid")Grid("update Item", item, ).done(function() ); Set current locale of all grids.Grid($("#grid"), ); // call method directly grid.method Name(param1, param2); // delete row by item reference $("#grid")Grid("delete Item", item); // delete row by j Query Element $("#grid")Grid("delete Item", $(".specific-row")); // delete row by Dom Node $("#grid")Grid("delete Item", row Node);// edit row by item reference $("#grid")Grid("edit Item", item); // edit row by j Query Element $("#grid")Grid("edit Item", $(".specific-row")); // edit row by Dom Node $("#grid")Grid("edit Item", row Node); Gets or sets the value of a field option. locale Name|locale Config is the name of the supported locale (see available locales or a custom localization config.

A string specifying the text of the link to move to next set of page links, when total amount of pages more than .A string specifying the text of the link to the previous page.A string specifying the text of the link to the first page.A string or a function returning string specifying delete confirmation message to be displayed to the user.A function has the signature A string specifying the text of the link to the next page.