Property | Type | Description | |
---|---|---|---|
AddCheckBoxSelectColumn | bool | ||
MultiSelect | bool | ||
SelectActiveRow | bool | ||
ValidationPopupUseFitPosition | bool |
Method | Description | |
---|---|---|
AddColumn ( List |
||
AddEditIndicatorColumn ( List |
Adds a column that shows the state of the row as edited/new
|
|
AddRefreshButton ( string gridId, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
AddValidation ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
BindClickHandler ( Slick.Grid grid ) : void |
Binds the click handler for opening records from the grid attributes -see the formatters for attributes provided
|
|
BindCommitEdit ( ViewModelBase vm ) : void |
Wire up the OnCommitEdit event handler for the grid In order to ensure that all grid edits have been commited before a VM command is run, the VM must call CommitEdit on the ViewModelBase and cancel if returns false.
|
|
BindRowIcon ( Slick.Column column, string entityLogicalName ) : Slick.Column | ||
ColumnFormatter ( int row, int cell, object value, Slick.Column columnDef, object dataContext ) : string | ||
Comparer ( object l, object r ) : int | ||
DataBindDataViewGrid ( DataView dataView, List |
Data Binds the standard Slick.DataView
|
|
DataBindEvents ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView, string gridContainerDivId ) : void | ||
DataBindSelectionModel ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
DataBindXrmGrid ( SparkleXrm.GridEditor.DataViewBase dataView, List |
DataBinds a DataView that inherits from DataViewBase
|
|
NewColumn ( string field, string name, int width ) : Slick.Column | ||
ParseLayout ( string layout ) : List |
||
RowIcon ( int row, int cell, object value, Slick.Column columnDef, object dataContext ) : string |
Formattor to get the icon for a row
|
Method | Description | |
---|---|---|
FreezeColumns ( Slick.Grid grid, bool freeze ) : void | ||
ShowLoadingIndicator ( jQueryObject loadingIndicator, string gridContainerDivId ) : jQueryObject |
public static AddColumn ( List |
||
cols | List |
|
displayName | string | |
width | int | |
field | string | |
return | Slick.Column |
public static AddEditIndicatorColumn ( List |
||
columns | List |
|
return | void |
public AddRefreshButton ( string gridId, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
gridId | string | |
dataView | SparkleXrm.GridEditor.DataViewBase | |
return | void |
public AddValidation ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
grid | Slick.Grid | |
dataView | SparkleXrm.GridEditor.DataViewBase | |
return | void |
public BindClickHandler ( Slick.Grid grid ) : void | ||
grid | Slick.Grid | |
return | void |
public BindCommitEdit ( ViewModelBase vm ) : void | ||
vm | ViewModelBase | |
return | void |
public static BindRowIcon ( Slick.Column column, string entityLogicalName ) : Slick.Column | ||
column | Slick.Column | |
entityLogicalName | string | |
return | Slick.Column |
public static ColumnFormatter ( int row, int cell, object value, Slick.Column columnDef, object dataContext ) : string | ||
row | int | |
cell | int | |
value | object | |
columnDef | Slick.Column | |
dataContext | object | |
return | string |
public DataBindDataViewGrid ( DataView dataView, List |
||
dataView | DataView | |
columns | List |
|
gridId | string | |
pagerId | string | |
editable | bool | |
allowAddNewRow | bool | |
return | Slick.Grid |
public DataBindEvents ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView, string gridContainerDivId ) : void | ||
grid | Slick.Grid | |
dataView | SparkleXrm.GridEditor.DataViewBase | |
gridContainerDivId | string | |
return | void |
public DataBindSelectionModel ( Slick.Grid grid, SparkleXrm.GridEditor.DataViewBase dataView ) : void | ||
grid | Slick.Grid | |
dataView | SparkleXrm.GridEditor.DataViewBase | |
return | void |
public DataBindXrmGrid ( SparkleXrm.GridEditor.DataViewBase dataView, List |
||
dataView | SparkleXrm.GridEditor.DataViewBase | |
columns | List |
|
gridId | string | |
pagerId | string | |
editable | bool | |
allowAddNewRow | bool | |
return | Slick.Grid |
public static NewColumn ( string field, string name, int width ) : Slick.Column | ||
field | string | |
name | string | |
width | int | |
return | Slick.Column |
public static ParseLayout ( string layout ) : List |
||
layout | string | |
return | List |
public static RowIcon ( int row, int cell, object value, Slick.Column columnDef, object dataContext ) : string | ||
row | int | |
cell | int | |
value | object | |
columnDef | Slick.Column | |
dataContext | object | |
return | string |