Class ClientSideEventsBuilder<T>
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ClientSideEventsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
ClientSideEventsBuilder(GridProperties)
Initializes a new instance of the ClientSideEventsBuilder<T> class.
Declaration
public ClientSideEventsBuilder(GridProperties gridProp)
Parameters
Type | Name | Description |
---|---|---|
GridProperties | gridProp | It displays the list of clientSideEvents |
Methods
ActionBegin(String)
Triggered for every grid action before its starts.
Declaration
public ClientSideEventsBuilder<T> ActionBegin(string actionbegin)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionbegin | It accepts the string value and triggered before every grid action |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ActionComplete(String)
Triggered for every grid action success event.
Declaration
public ClientSideEventsBuilder<T> ActionComplete(string actioncomplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | actioncomplete | It accepts the string value and triggered after grid action completes |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ActionFailure(String)
Triggered for every grid action server failure event.
Declaration
public ClientSideEventsBuilder<T> ActionFailure(string actionfailure)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionfailure | It accepts the string value and returns the error return by server. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
BatchAdd(String)
Triggered when record batch add.
Declaration
public ClientSideEventsBuilder<T> BatchAdd(string batchadd)
Parameters
Type | Name | Description |
---|---|---|
System.String | batchadd | It accepts the string value and triggers on batch add |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BatchDelete(String)
Triggered when record batch delete.
Declaration
public ClientSideEventsBuilder<T> BatchDelete(string batchdelete)
Parameters
Type | Name | Description |
---|---|---|
System.String | batchdelete | It accepts the string value and triggers on batch delete |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeforeBatchAdd(String)
Triggered before the batch add.
Declaration
public ClientSideEventsBuilder<T> BeforeBatchAdd(string beforebatchadd)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforebatchadd | It accepts the string value and triggers before batch add |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeforeBatchDelete(String)
Triggered before the batch delete.
Declaration
public ClientSideEventsBuilder<T> BeforeBatchDelete(string beforebatchdelete)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforebatchdelete | It accepts the string value and triggers before batch delete |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeforeBatchSave(String)
Triggered before the batch save.
Declaration
public ClientSideEventsBuilder<T> BeforeBatchSave(string beforebatchsave)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforebatchsave | It accepts the string value and triggers on before batch save |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeforePrint(String)
Triggered when before print the grid.
Declaration
public ClientSideEventsBuilder<T> BeforePrint(string beforePrint)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforePrint | It accepts the string value and triggered while before print the grid |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeforeRowDrop(String)
Triggered when before drop the row.
Declaration
public ClientSideEventsBuilder<T> BeforeRowDrop(string beforeRowDrop)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforeRowDrop | It accepts the string value and triggered while before drop the row |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
BeginEdit(String)
Triggered before the record is going to be edited.
Declaration
public ClientSideEventsBuilder<T> BeginEdit(string beginedit)
Parameters
Type | Name | Description |
---|---|---|
System.String | beginedit | It accepts the string value and trigger before the record going to be edited |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
CellDeselected(String)
Triggered after the cell is deselected.
Declaration
public ClientSideEventsBuilder<T> CellDeselected(string celldeselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | celldeselected | It accepts the string value and returns current record object(JSON). |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
CellDeselecting(String)
Triggered before the cell is going to be deselected.
Declaration
public ClientSideEventsBuilder<T> CellDeselecting(string celldeselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | celldeselecting | It accepts the string value and returns current record object (JSON) before cell selection |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder{`0}. |
CellEdit(String)
Triggered when record cell edit.
Declaration
public ClientSideEventsBuilder<T> CellEdit(string celledit)
Parameters
Type | Name | Description |
---|---|---|
System.String | celledit | It accepts the string value and triggers on editing a cell |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
CellSave(String)
Triggered when record cell save.
Declaration
public ClientSideEventsBuilder<T> CellSave(string cellsave)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellsave | It accepts the string value and triggers on saving the cell |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
CellSelected(String)
Triggered after the cell is selected.
Declaration
public ClientSideEventsBuilder<T> CellSelected(string cellselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellselected | It accepts the string value and returns current record object(JSON). |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
CellSelecting(String)
Triggered before the cell is going to be selected.
Declaration
public ClientSideEventsBuilder<T> CellSelecting(string cellselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellselecting | It accepts the string value and returns current record object (JSON) before cell selection |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder{`0}. |
ColumnDeselected(String)
Triggered after the column is deselected.
Declaration
public ClientSideEventsBuilder<T> ColumnDeselected(string columndeselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | columndeselected | It accepts the string value and triggers after the column deselection |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ColumnDeselecting(String)
Triggered before the column is going to be deselected.
Declaration
public ClientSideEventsBuilder<T> ColumnDeselecting(string columndeselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | columndeselecting | It accepts the string value and triggered before column gets deselected |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ColumnDrag(String)
Triggered when the column is being dragged.
Declaration
public ClientSideEventsBuilder<T> ColumnDrag(string columnDrag)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDrag | It accepts the string value and triggers when column drag |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ColumnDragStart(String)
Triggered when column dragging begins.
Declaration
public ClientSideEventsBuilder<T> ColumnDragStart(string columnDragStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDragStart | It accepts the string value and triggers when column drag begins |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
ColumnDrop(String)
Triggered when the column is dropped.
Declaration
public ClientSideEventsBuilder<T> ColumnDrop(string columnDrop)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDrop | It accepts the string value and triggers before column drop |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ColumnSelected(String)
Triggered after the column is selected.
Declaration
public ClientSideEventsBuilder<T> ColumnSelected(string columnselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnselected | It accepts the string value and triggers after the column selection |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ColumnSelecting(String)
Triggered before the column is going to be selected.
Declaration
public ClientSideEventsBuilder<T> ColumnSelecting(string columnselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnselecting | It accepts the string value and triggered before column gets selected |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
ContextClick(String)
Triggered when context menu item is clicked
Declaration
public ClientSideEventsBuilder<T> ContextClick(string contextclick)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextclick | It accepts the string value and triggers when contextmenu items gets clicked |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
ContextOpen(String)
Triggered before the context menu is opened.
Declaration
public ClientSideEventsBuilder<T> ContextOpen(string contextopen)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextopen | It accepts the string value and triggers before the contextmenu gets open |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
Create(String)
Triggered when the grid is rendered completely.
Declaration
public ClientSideEventsBuilder<T> Create(string create)
Parameters
Type | Name | Description |
---|---|---|
System.String | create | It accepts the string value and triggers the grid model |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
DataBound(String)
Triggered when the grid is bound with data during initial rendering.
Declaration
public ClientSideEventsBuilder<T> DataBound(string databound)
Parameters
Type | Name | Description |
---|---|---|
System.String | databound | It accepts the string value and triggered when the grid is bound with data |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
Destroy(String)
Triggered when grid going to destroy.
Declaration
public ClientSideEventsBuilder<T> Destroy(string destroy)
Parameters
Type | Name | Description |
---|---|---|
System.String | destroy | It accepts the string value and returns the deleted data |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
DetailsCollapse(String)
Triggered when detail template row is clicked to collapse.
Declaration
public ClientSideEventsBuilder<T> DetailsCollapse(string detailsCollapse)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsCollapse | It accepts the string value and riggers when detailTemplate row is going to collapse |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
DetailsDataBound(String)
Triggered detail template row is initialized.
Declaration
public ClientSideEventsBuilder<T> DetailsDataBound(string detailsDataBound)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsDataBound | It acccepts the string value and triggers detailTemplate |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
DetailsExpand(String)
Triggered when detail template row is clicked to expand.
Declaration
public ClientSideEventsBuilder<T> DetailsExpand(string detailsExpand)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsExpand | It accepts the string value and riggers when detailTemplate row is going to expand |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
EndAdd(String)
Triggered after the record is added.
Declaration
public ClientSideEventsBuilder<T> EndAdd(string endadd)
Parameters
Type | Name | Description |
---|---|---|
System.String | endadd | It accepts the string value and returns the added data |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
EndDelete(String)
Triggered after the record is deleted.
Declaration
public ClientSideEventsBuilder<T> EndDelete(string enddelete)
Parameters
Type | Name | Description |
---|---|---|
System.String | enddelete | It accepts the string value and returns the deleted data |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
EndEdit(String)
Triggered after the record is edited.
Declaration
public ClientSideEventsBuilder<T> EndEdit(string endedit)
Parameters
Type | Name | Description |
---|---|---|
System.String | endedit | It accepts the string value and triggers after the record gets edited |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
Load(String)
Triggered initial load.
Declaration
public ClientSideEventsBuilder<T> Load(string load)
Parameters
Type | Name | Description |
---|---|---|
System.String | load | It accepts the string value and triggers the grid model |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
MergeCellInfo(String)
Triggered every time a request is made to access particular cell information, element and data.
Declaration
public ClientSideEventsBuilder<T> MergeCellInfo(string mergecellinfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | mergecellinfo | It accepts the string value and triggers when request is sent to access particular data. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
MergeHeaderCellInfo(String)
Triggered every time a request is made to access particular header cell information, element and data.
Declaration
public ClientSideEventsBuilder<T> MergeHeaderCellInfo(string mergeheadercellinfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | mergeheadercellinfo | It accepts the string value and triggers when request is sent to access particular data. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
QueryCellInfo(String)
Triggered every time a request is made to access particular cell information, element and data.
Declaration
public ClientSideEventsBuilder<T> QueryCellInfo(string querycellinfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | querycellinfo | It accepts the string value and triggers when request is sent to access particular data. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RecordClick(String)
Triggered when record is clicked.
Declaration
public ClientSideEventsBuilder<T> RecordClick(string recordClick)
Parameters
Type | Name | Description |
---|---|---|
System.String | recordClick | It accepts the string value and triggers when record gets clicked |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RecordDoubleClick(String)
Triggered when record is double clicked.
Declaration
public ClientSideEventsBuilder<T> RecordDoubleClick(string recordDoubleClick)
Parameters
Type | Name | Description |
---|---|---|
System.String | recordDoubleClick | It accepts tne string value and triggers when record gets double clicked |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
Resized(String)
Triggered after column resized.
Declaration
public ClientSideEventsBuilder<T> Resized(string resized)
Parameters
Type | Name | Description |
---|---|---|
System.String | resized | It accepts the string value and triggers after column gets resized |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
ResizeEnd(String)
Triggered when column resize end.
Declaration
public ClientSideEventsBuilder<T> ResizeEnd(string resizeEnd)
Parameters
Type | Name | Description |
---|---|---|
System.String | resizeEnd | It accepts the string value and triggers when column resizing gets end |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> |
ResizeStart(String)
Triggered when column resize start.
Declaration
public ClientSideEventsBuilder<T> ResizeStart(string resizeStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | resizeStart | It accepts the string value and triggers when column resizing gets started. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RightClick(String)
Triggered when right clicked on grid element.
Declaration
public ClientSideEventsBuilder<T> RightClick(string rightClick)
Parameters
Type | Name | Description |
---|---|---|
System.String | rightClick | It accepts the string value and triggers when right click on grid element |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RowDataBound(String)
Triggered every time a request is made to access row information, element and data.
Declaration
public ClientSideEventsBuilder<T> RowDataBound(string rowdatabound)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowdatabound | It accepts the string value and returns current row record object (JSON) |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
RowDeselected(String)
Triggered after the row is deselected.
Declaration
public ClientSideEventsBuilder<T> RowDeselected(string rowdeselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowdeselected | It accepts the string value and returns current record object (JSON) |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
RowDeselecting(String)
Triggered before the row is going to be deselected.
Declaration
public ClientSideEventsBuilder<T> RowDeselecting(string rowdeselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowdeselecting | It accepts the string value and |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
RowDrag(String)
Triggered when dragging the row.
Declaration
public ClientSideEventsBuilder<T> RowDrag(string rowDrag)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDrag | It accepts the string value and triggered on dragging the row. |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RowDragStart(String)
Triggered when row Drag starts.
Declaration
public ClientSideEventsBuilder<T> RowDragStart(string rowDragStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDragStart | It accepts the string value and triggered when on dragging the row from grid |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RowDrop(String)
Triggered when drop the row.
Declaration
public ClientSideEventsBuilder<T> RowDrop(string rowDrop)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDrop | It accepts the string value and triggered while drop the row |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RowHover(String)
Triggered while hover the row in the grid.
Declaration
public ClientSideEventsBuilder<T> RowHover(string rowHover)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowHover | It accepts the string value and triggered while hovering the row in the grid |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
RowSelected(String)
Triggered after the row is selected.
Declaration
public ClientSideEventsBuilder<T> RowSelected(string rowselected)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowselected | It accepts the string value and returns current record object (JSON) |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
RowSelecting(String)
Triggered before the row is going to be selected.
Declaration
public ClientSideEventsBuilder<T> RowSelecting(string rowselecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowselecting | It accepts the string value and returns current record object (JSON) |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder |
TemplateRefresh(String)
Triggered when refresh the template column elements in the Grid.
Declaration
public ClientSideEventsBuilder<T> TemplateRefresh(string templateRefresh)
Parameters
Type | Name | Description |
---|---|---|
System.String | templateRefresh | It accepts the string value and triggers when refresh the template column elements |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
ToolbarClick(String)
Triggered when toolbar item is clicked in grid.
Declaration
public ClientSideEventsBuilder<T> ToolbarClick(string toolbarclick)
Parameters
Type | Name | Description |
---|---|---|
System.String | toolbarclick | It accepts the string value and triggers when toolbar item gets clicked |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |
VirtualLoading(String)
Triggered when data load into grid on scrolling.
Declaration
public ClientSideEventsBuilder<T> VirtualLoading(string virtualLoading)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualLoading | It accepts the string value and load the data on scrolling |
Returns
Type | Description |
---|---|
ClientSideEventsBuilder<T> | ClientSideEventsBuilder. |