Difference between revisions of "Custom Renderers and Custom Editors"

From Lianjapedia
Jump to: navigation, search
Line 2: Line 2:
  
 
Lianja 4.1 provides the ability to specify custom renderers and custom editors in SmartGrid and FormGrid cells.
 
Lianja 4.1 provides the ability to specify custom renderers and custom editors in SmartGrid and FormGrid cells.
 +
 +
In the example below there are two of the grid columns (the Chart and the Employee Details) that have a Custom Renderer and one (the Employee Details) that also has a Custom Editor.
 +
 +
[[File:bm-appinspector.png|middle|773px]]
  
 
===Cell Renderer===
 
===Cell Renderer===

Revision as of 07:13, 7 December 2017

Under construction

Lianja 4.1 provides the ability to specify custom renderers and custom editors in SmartGrid and FormGrid cells.

In the example below there are two of the grid columns (the Chart and the Employee Details) that have a Custom Renderer and one (the Employee Details) that also has a Custom Editor.

Bm-appinspector.png

Cell Renderer

You can customise what is displayed inside the grid cells by specifying a Display delegate in the custom delegates for the grid columns of a SmartGrid or the FormItem cell of a FormGrid.

Cell Editor

You can customise what is rendered inside the grid cells when editing by specifying an Editor delegate in the custom delegates for the grid columns of a SmartGrid or the FormItem cell of a FormGrid.