render
renders the specified item or the whole component
function render( // the item id id: id, // the object with data for the rendered item data: object, // the type of the operation: "'update'", "'add'", "'delete'", "'move'" type operation: string): void
Example
Section titled “Example”dgrid.render();
also check the next samples:
Details
Section titled “Details”When no parameters are specified, the method renders the whole view.
Operation types:
- update - replaces the existing HTML with the new one
- add - place a new HTML at the required position
- delete - removes the related HTML
- move - simulates add-delete sequence