Class TreeGridClientSideEventBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TreeGridClientSideEventBuilder
Constructors
TreeGridClientSideEventBuilder(TreeGridProperties)
Initializes a new instance of the
Declaration
public TreeGridClientSideEventBuilder(TreeGridProperties treeGridProp)
Parameters
Type | Name | Description |
---|---|---|
TreeGridProperties | treeGridProp | It displays the list of clientSideEvents |
Methods
ActionBegin(String)
Triggered before every success event of Treegrid action.
Declaration
public TreeGridClientSideEventBuilder ActionBegin(string actionBegin)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionBegin | It accepts the string value and returns the action details before execution |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ActionComplete(String)
Triggered for every Treegrid action success event.
Declaration
public TreeGridClientSideEventBuilder ActionComplete(string actionComplete)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionComplete | It accepts the string value and returns the action details after its completion |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ActionFailure(String)
Triggered for every TreeGrid server action failure.
Declaration
public TreeGridClientSideEventBuilder ActionFailure(string actionFailure)
Parameters
Type | Name | Description |
---|---|---|
System.String | actionFailure | It accepts the string value and returns the server action failure details |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
BeforePrint(String)
Triggered before initiating the print in treegrid.
Declaration
public TreeGridClientSideEventBuilder BeforePrint(string beforePrint)
Parameters
Type | Name | Description |
---|---|---|
System.String | beforePrint | It accepts the string value and triggered while before print the tree grid |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
BeginEdit(String)
Triggered while enter the edit mode in the treegrid cell.
Declaration
public TreeGridClientSideEventBuilder BeginEdit(string beginEdit)
Parameters
Type | Name | Description |
---|---|---|
System.String | beginEdit | It accepts the string value and returns the edited row details before edit |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
CellSelected(String)
Triggered after the cell is selected.
Declaration
public TreeGridClientSideEventBuilder CellSelected(string cellSelected)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellSelected | It accepts the string value and returns the current selected[cell] record |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
CellSelecting(String)
Triggered before the cell is going to be selected.
Declaration
public TreeGridClientSideEventBuilder CellSelecting(string cellSelecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | cellSelecting | It accepts the string value and triggered before cell selection |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Collapsed(String)
Triggered after collapsed the TreeGrid record
Declaration
public TreeGridClientSideEventBuilder Collapsed(string collapsed)
Parameters
Type | Name | Description |
---|---|---|
System.String | collapsed | It accepts the string value and returns the collapsed record details |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Collapsing(String)
Triggered while collapsing the TreeGrid record
Declaration
public TreeGridClientSideEventBuilder Collapsing(string collapsing)
Parameters
Type | Name | Description |
---|---|---|
System.String | collapsing | It accepts the string value and returns collapsing record details |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnDrag(String)
Triggered while dragging a column.
Declaration
public TreeGridClientSideEventBuilder ColumnDrag(string columnDrag)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDrag | It accepts the string value and returns the dragged and target column details during drag action |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnDragStart(String)
Triggered while initiating the column drag action.
Declaration
public TreeGridClientSideEventBuilder ColumnDragStart(string columnDragStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDragStart | It accepts the string value and returns the dragged column details during drag start action |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnDrop(String)
Triggered when a column is dropped.
Declaration
public TreeGridClientSideEventBuilder ColumnDrop(string columnDrop)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnDrop | It accepts the string value and returns the dragged and dropped column details after drop action |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnResized(String)
Triggered after a column resized.
Declaration
public TreeGridClientSideEventBuilder ColumnResized(string columnResized)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnResized | It accepts the string value and triggered during column resized. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnResizeEnd(String)
Triggered when a column has been resized.
Declaration
public TreeGridClientSideEventBuilder ColumnResizeEnd(string columnResizeEnd)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnResizeEnd | It accepts the string value and triggered when column resizing gets finished. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ColumnResizeStart(String)
Triggered while start to resize a column.
Declaration
public TreeGridClientSideEventBuilder ColumnResizeStart(string columnResizeStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnResizeStart | It accepts the string value and triggered when column resizing gets started. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ContextMenuOpen(String)
Triggered while Context Menu is rendered in TreeGrid control.
Declaration
public TreeGridClientSideEventBuilder ContextMenuOpen(string contextMenuOpen)
Parameters
Type | Name | Description |
---|---|---|
System.String | contextMenuOpen | It accepts the string value and triggers before the contextmenu gets open |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Create(String)
Triggered when TreeGrid is rendered completely.
Declaration
public TreeGridClientSideEventBuilder Create(string create)
Parameters
Type | Name | Description |
---|---|---|
System.String | create | It accepts the string value and triggered after tree grid rendered completely. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
DetailsDataBound(String)
Triggered while rendering details template in TreeGrid
Declaration
public TreeGridClientSideEventBuilder DetailsDataBound(string detailsDataBound)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsDataBound | It acccepts the string value and triggers detailTemplate |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
DetailsHidden(String)
Triggered when details template pop-up is hidden.
Declaration
public TreeGridClientSideEventBuilder DetailsHidden(string detailsHidden)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsHidden | It accepts the string value and triggers when detailTemplate row is going to be collapsed |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
DetailsShown(String)
Triggered when details template pop-up is shown.
Declaration
public TreeGridClientSideEventBuilder DetailsShown(string detailsShown)
Parameters
Type | Name | Description |
---|---|---|
System.String | detailsShown | It accepts the string value and riggers when detailTemplate row is going to expand |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
EndEdit(String)
Triggered after saved the modified cellValue in treegrid.
Declaration
public TreeGridClientSideEventBuilder EndEdit(string endEdit)
Parameters
Type | Name | Description |
---|---|---|
System.String | endEdit | It accepts the string value and returns the modified cell value after save |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Expanded(String)
Triggered after expand the record.
Declaration
public TreeGridClientSideEventBuilder Expanded(string expanded)
Parameters
Type | Name | Description |
---|---|---|
System.String | expanded | It accepts the string value and returns expanded record details |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Expanding(String)
Triggered while expanding the TreeGrid record.
Declaration
public TreeGridClientSideEventBuilder Expanding(string expanding)
Parameters
Type | Name | Description |
---|---|---|
System.String | expanding | It accepts the string value and returns the expanding row details |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
Load(String)
Triggered while Treegrid is loaded.
Declaration
public TreeGridClientSideEventBuilder Load(string load)
Parameters
Type | Name | Description |
---|---|---|
System.String | load | It accepts the string value and triggers the tree grid model |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
QueryCellInfo(String)
Triggered while rendering each cell in the treegrid.
Declaration
public TreeGridClientSideEventBuilder QueryCellInfo(string queryCellInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | queryCellInfo | It accepts the string value and returns the current cell details during its renderence |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RecordClick(String)
Triggered while clicking a row, even when allowSelection property is disabled.
Declaration
public TreeGridClientSideEventBuilder RecordClick(string recordClick)
Parameters
Type | Name | Description |
---|---|---|
System.String | recordClick | It accepts the string value and triggers when record gets clicked |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RecordDoubleClick(String)
Triggered during record double click action, even when allowSelection property is disabled.
Declaration
public TreeGridClientSideEventBuilder RecordDoubleClick(string recordDoubleClick)
Parameters
Type | Name | Description |
---|---|---|
System.String | recordDoubleClick | It accepts the string value and triggers when record gets double clicked |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowDataBound(String)
Triggered while rendering each row.
Declaration
public TreeGridClientSideEventBuilder RowDataBound(string rowDataBound)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDataBound | It accepts the string value and returns the current row details during its renderence |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowDrag(String)
Triggered while dragging a row in TreeGrid control.
Declaration
public TreeGridClientSideEventBuilder RowDrag(string rowDrag)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDrag | It accepts the string value and triggered on dragging the row. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowDragStart(String)
Triggered while start to drag row in TreeGrid control.
Declaration
public TreeGridClientSideEventBuilder RowDragStart(string rowDragStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDragStart | It accepts the string value and triggered when on dragging the row from tree grid. |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowDragStop(String)
Triggered while drop a row in TreeGrid control.
Declaration
public TreeGridClientSideEventBuilder RowDragStop(string rowDragStop)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDragStop | It accepts the string value and triggered while drop the row |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowDropActionBegin(String)
Triggered before drop action begins in TreeGrid.
Declaration
public TreeGridClientSideEventBuilder RowDropActionBegin(string rowDropActionBegin)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowDropActionBegin | It accepts the string value and triggered while before drop the row |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowSelected(String)
Triggered after the row is selected.
Declaration
public TreeGridClientSideEventBuilder RowSelected(string rowSelected)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowSelected | It accepts the string value and returns the current selected record |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
RowSelecting(String)
Triggered before the row is going to be selected.
Declaration
public TreeGridClientSideEventBuilder RowSelecting(string rowSelecting)
Parameters
Type | Name | Description |
---|---|---|
System.String | rowSelecting | It accepts the string value and triggered before row selection |
Returns
Type | Description |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |
ToolbarClick(String)
Triggered when toolbar item is clicked in TreeGrid.
Declaration
public TreeGridClientSideEventBuilder 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 |
---|---|
TreeGridClientSideEventBuilder | TreeGridClientSideEventBuilder |