Add rows

New rows can be added to a DataTable very easily using the (addFieldValue()) function.

{{element.id}} {{element.name}} {{element.position}} {{element.office}} {{element.age}} {{element.salary}} {{element.startdate}}
Row selection and deletion (single row)

This example shows a modification of the multiple row selection example, where just a single can now be selected. This is done simply by checking to see if the row already has a selected class or not, and if so removing it, if not then the class is removed from any other row in the table which does have it and applied to the row to be selected.


{{element.id}} {{element.name}} {{element.position}} {{element.office}} {{element.age}} {{element.salary}} {{element.startdate}}

Row Editing Content

Double click on any content to edit that section.


{{value}} {{value}} {{value}} {{value}} {{value}} {{value}}