Use the following code to create a basic inputEx DataTable
Use the following code to add items through a dialog