Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.TableView.Builder< TTableView, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.TableView.Builder< TTableView, TBuilder >:
Ext.Net.AbstractDataView.Builder< TTableView, TBuilder >

Public Member Functions

 Builder (TTableView component)
 
virtual TBuilder GetRowClass (Action< JFunction > action)
 Override this function to apply custom CSS classes to rows during rendering. You can also supply custom parameters to the row template for the current row to customize how it is rendered using the rowParams parameter. This function should return the CSS class name (or empty string '' for none) that will be added to the row's wrapping div. To apply multiple class names, simply return them space-delimited within the string (e.g., 'my-class another-class'). More...
 
virtual TBuilder EnableTextSelection (bool enableTextSelection)
 True to enable text selections. More...
 
virtual TBuilder FirstCls (string firstCls)
 A CSS class to add to the first cell in every row to enable special styling for the first column. If no styling is needed on the first column, this may be configured as null. Defaults to: "x-grid-cell-first" More...
 
virtual TBuilder LastCls (string lastCls)
 A CSS class to add to the last cell in every row to enable special styling for the last column. If no styling is needed on the last column, this may be configured as null. Defaults to: "x-grid-cell-last" More...
 
virtual TBuilder MarkDirty (bool markDirty)
 True to show the dirty cell indicator when a cell has been modified. More...
 
virtual TBuilder StripeRows (bool? stripeRows)
 
virtual TBuilder TrackOver (bool trackOver)
 True to enable mouseenter and mouseleave events More...
 

Detailed Description

Type Constraints
TTableView :TableView 
TBuilder :Builder 
TBuilder :TTableView 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder()

Ext.Net.TableView.Builder< TTableView, TBuilder >.Builder ( TTableView  component)
inline

Member Function Documentation

◆ EnableTextSelection()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.EnableTextSelection ( bool  enableTextSelection)
inlinevirtual

True to enable text selections.

◆ FirstCls()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.FirstCls ( string  firstCls)
inlinevirtual

A CSS class to add to the first cell in every row to enable special styling for the first column. If no styling is needed on the first column, this may be configured as null. Defaults to: "x-grid-cell-first"

◆ GetRowClass()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.GetRowClass ( Action< JFunction action)
inlinevirtual

Override this function to apply custom CSS classes to rows during rendering. You can also supply custom parameters to the row template for the current row to customize how it is rendered using the rowParams parameter. This function should return the CSS class name (or empty string '' for none) that will be added to the row's wrapping div. To apply multiple class names, simply return them space-delimited within the string (e.g., 'my-class another-class').

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ LastCls()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.LastCls ( string  lastCls)
inlinevirtual

A CSS class to add to the last cell in every row to enable special styling for the last column. If no styling is needed on the last column, this may be configured as null. Defaults to: "x-grid-cell-last"

◆ MarkDirty()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.MarkDirty ( bool  markDirty)
inlinevirtual

True to show the dirty cell indicator when a cell has been modified.

◆ StripeRows()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.StripeRows ( bool?  stripeRows)
inlinevirtual

◆ TrackOver()

virtual TBuilder Ext.Net.TableView.Builder< TTableView, TBuilder >.TrackOver ( bool  trackOver)
inlinevirtual

True to enable mouseenter and mouseleave events


The documentation for this class was generated from the following file: