render

renders the specified item or the whole component

void render(id id,object data,string operation);
ididthe item id
dataobjectthe object with data for the rendered item
operationstringthe type of the operation: 'update', 'add', 'delete', 'move' type

Example

dtable.render();

Related samples

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
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of javascript data grid product.