Foreign Require

This sample will only show something if the table colors is empty. Then you will not be able to insert something.

Parameters:

  • table: the table that has to contain datasets
  • message: the message that is shown if table is empty
Sample Code

Live Sample