Constructor

Table 5 describes two parameters that the constructor supports.

Table 4: Constructor-supported parameters

Name Type Description
dom Object Required parameter. It is a DOM element that will be used as a control container.
settings Object Optional parameter. It contains the following global settings for grid initialization: multiSelect – gives you the ability to select multiple rows in the grid. The default value is false. editable – determines whether a grid can be edited or not. The default value is true. sortable – determines whether grid columns can be sorted. The default value is true. draggableColumns – determines whether grid columns can be moved. The default value is true. resizable – determines whether columns can be resized. The default value is true. If you do not specify the settings parameter, its default value will be used for grid initialization.