The function of the Insert button can be modified to insert multiple records directly from a lookup dialog by seting the
bulkInsert column property. In this example multiple Order Lines can be added in a single action by selecting the Product from a list of products. Note that once a product has been added to the order it is no longer available in the lookup dialog. The sample also demonstrates use of the
onBeforeBulkInsert event to supply a default value for the
quantity column.