Callback for when you want to validate something after selection.
Define an aggregate template to customize the rows when grouped. See github wiki for more details.
Callback if you want to inspect something before selection, return false if you want to cancel the selection. return true otherwise. If you need to wait for an async call to proceed with selection you can use rowItem.changeSelection(event) method after returning false initially. Note: when shift+ Selecting multiple items in the grid this will only get called once and the rowItem will be an array of items that are queued to be selected.
checkbox templates.
checkbox templates.
definitions of columns as an array [], if not defined columns are auto-generated. See github wiki for more details.
Data being displayed in the grid. This can be either a string of object ID or object reference. Using string is preferred, as this turns on change tracking in ng-grid
Data updated callback, fires every time the data is modified from outside the grid.
Enables cell editing.
Enables cell selection.
Enable or disable HEAVY column virtualization. This turns off selection checkboxes and column pinning and is designed for spreadsheet-like data.
Enable or disable reordering of columns
Enable or disable resizing of columns
Enables or disables text highlighting in grid by adding the "unselectable" class (See CSS file)
Enables the server-side paging feature
Enable column pinning
Enable drag and drop row reordering. Only works in HTML5 compliant browsers.
To be able to have selectable rows in grid.
Enables or disables sorting in grid.
string list of properties to exclude when auto-generating columns.
filterOptions - filterText: The text bound to the built-in search box. useExternalFilter: Bypass internal filtering if you want to roll your own filtering mechanism but want to use builtin search box.
Defining the height of the footer in pixels.
Initial fields to group data by. Array of field names, not displayName.
The height of the header row in pixels.
Define a header row template for further customization. See github wiki for more details.
i18n language support. choose from the installed or included languages, en, fr, sp, etc...
Enables the use of jquery UI reaggable/droppable plugin. requires jqueryUI to work if enabled. Useful if you want drag + drop but your users insist on crappy browsers.
Enable the use jqueryUIThemes
Prevent unselections when in single selection mode.
Maintains the column widths while resizing. Defaults to true when using *'s or undefined widths. Can be ovverriden by setting to false.
Set this to false if you only want one item selected at a time
pagingOptions -
Array of plugin functions to register in ng-grid
Array of plugin functions to register in ng-grid
Row height of rows in grid.
Define a row template to customize output. See github wiki for more details.
Select deselect an item by index.
Disable row selections by clicking on the row and only when the checkbox is clicked.
all of the items selected in the grid. In single select mode there will only be one item in the array.
Enables menu to choose which columns to display and group by. If both showColumnMenu and showFilter are false the menu button will not display.
Enables display of the filterbox in the column menu. If both showColumnMenu and showFilter are false the menu button will not display.
Show or hide the footer alltogether the footer is enabled by default
Show the dropzone for drag and drop grouping
Row selection check boxes appear as the first column.
Define a sortInfo object to specify a default sorting state. You can also observe this variable to utilize server-side sorting (see useExternalSorting). Syntax is sortinfo: { fields: ['fieldName1',' fieldName2'], direction: 'ASC'/'asc' || 'desc'/'DESC'}
Set the tab index of the Vieport.
Prevents the internal sorting from executing. The sortInfo object will be updated with the sorting information so you can handle sorting (see sortInfo)
the threshold in rows to force virtualization on